Skip to content

Commit

Permalink
fix build 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Zekiu committed Jan 12, 2025
1 parent 442f112 commit 4b5e2d4
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions launcher/ui/pages/global/AccountListPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,19 +141,6 @@ void AccountListPage::showLegalNotice()
"but its developers do not condone the violation of any law. "));
}

void AccountListPage::on_actionAddMojang_triggered()
{
MinecraftAccountPtr account =
LoginDialog::newAccount(this, tr("Please enter your Mojang account email and password to add your account."));

if (account) {
m_accounts->addAccount(account);
if (m_accounts->count() == 1) {
m_accounts->setDefaultAccount(account);
}
}
}

void AccountListPage::on_actionAddAuthlibInjector_triggered()
{
if (m_accounts->count() == 0) {
Expand Down

0 comments on commit 4b5e2d4

Please sign in to comment.