From 059d476a1264cff7ed709c68e86f6cb8f59d23b7 Mon Sep 17 00:00:00 2001 From: sneedium Date: Mon, 5 Sep 2022 12:47:31 -0400 Subject: [PATCH] Remove Microsoft-funded DRM. Signed-off-by: sneedium --- 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 3e714722..2f47efd2 100644 --- a/launcher/ui/pages/global/AccountListPage.cpp +++ b/launcher/ui/pages/global/AccountListPage.cpp @@ -188,19 +188,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 or Mojang 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.")