para el crack
Some checks failed
Nix / Build (aarch64-darwin) (push) Has been cancelled
Nix / Build (x86_64-linux) (push) Has been cancelled
Nix / Build (aarch64-linux) (push) Has been cancelled
Flatpak / Build (x86_64) (push) Failing after 6m21s
Update Flake Lockfile / update-flake (push) Has been skipped
Stale / Label issues and PRs (push) Successful in 34s
CodeQL Code Scanning / CodeQL (push) Failing after 1m34s

This commit is contained in:
2026-01-12 17:10:04 -03:00
parent 92a2e3b894
commit d5651946fc
2 changed files with 9 additions and 9 deletions

View File

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

View File

@@ -141,13 +141,13 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
void AccountListPage::on_actionAddOffline_triggered() void AccountListPage::on_actionAddOffline_triggered()
{ {
if (!m_accounts->anyAccountIsValid()) { // if (!m_accounts->anyAccountIsValid()) {
QMessageBox::warning(this, tr("Error"), // QMessageBox::warning(this, tr("Error"),
tr("You must add a Microsoft account that owns Minecraft before you can add an offline account." // tr("You must add a Microsoft account that owns Minecraft before you can add an offline account."
"<br><br>" // "<br><br>"
"If you have lost your account you can contact Microsoft for support.")); // "If you have lost your account you can contact Microsoft for support."));
return; // return;
} // }
ChooseOfflineNameDialog dialog(tr("Please enter your desired username to add your offline account."), this); ChooseOfflineNameDialog dialog(tr("Please enter your desired username to add your offline account."), this);
if (dialog.exec() != QDialog::Accepted) { if (dialog.exec() != QDialog::Accepted) {