From 4b5e2d45d7c542650379dee83efda129a67502c8 Mon Sep 17 00:00:00 2001 From: Zekiu_ Date: Sun, 12 Jan 2025 15:15:43 +0100 Subject: [PATCH] fix build 2 --- launcher/ui/pages/global/AccountListPage.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp index 4fa4c13eb..8bd364a23 100644 --- a/launcher/ui/pages/global/AccountListPage.cpp +++ b/launcher/ui/pages/global/AccountListPage.cpp @@ -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) {