From ebbbbab381e2e814adfd0333cb565b7d9b48b557 Mon Sep 17 00:00:00 2001
From: Bacalhau Seco <64091315+bacalhau-seco@users.noreply.github.com>
Date: Tue, 7 May 2024 10:05:35 +0100
Subject: [PATCH] Update AccountListPage.cpp
cracked
Signed-off-by: Bacalhau Seco <64091315+bacalhau-seco@users.noreply.github.com>
---
launcher/ui/pages/global/AccountListPage.cpp | 7 -------
1 file changed, 7 deletions(-)
diff --git a/launcher/ui/pages/global/AccountListPage.cpp b/launcher/ui/pages/global/AccountListPage.cpp
index abd8fa2288..73a7ce49a8 100644
--- a/launcher/ui/pages/global/AccountListPage.cpp
+++ b/launcher/ui/pages/global/AccountListPage.cpp
@@ -147,13 +147,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
void AccountListPage::on_actionAddOffline_triggered()
{
- if (!m_accounts->anyAccountIsValid()) {
- QMessageBox::warning(this, tr("Error"),
- tr("You must add a Microsoft account that owns Minecraft before you can add an offline account."
- "
"
- "If you have lost your account you can contact Microsoft for support."));
- return;
- }
MinecraftAccountPtr account =
OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));