remove drm
Some checks are pending
CodeQL Code Scanning / CodeQL (push) Waiting to run
Flatpak / Build (aarch64) (push) Waiting to run
Flatpak / Build (x86_64) (push) Waiting to run
Nix / Build (x86_64-darwin) (push) Waiting to run
Nix / Build (aarch64-darwin) (push) Waiting to run
Nix / Build (x86_64-linux) (push) Waiting to run
Nix / Build (aarch64-linux) (push) Waiting to run

This commit is contained in:
dasha_uwu 2025-08-02 23:33:21 +05:00
parent 951b7f2c0c
commit b588e81934
2 changed files with 1 additions and 9 deletions

View file

@ -116,7 +116,7 @@ class MinecraftAccount : public QObject, public Usable {
AccountType accountType() const noexcept { return data.type; }
bool ownsMinecraft() const { return data.type != AccountType::Offline && data.minecraftEntitlement.ownsMinecraft; }
bool ownsMinecraft() const { return true; }
bool hasProfile() const { return data.profileId().size() != 0; }

View file

@ -141,14 +141,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."
"<br><br>"
"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."));