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
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:
@@ -116,8 +116,8 @@ 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 data.type != AccountType::Offline && data.minecraftEntitlement.ownsMinecraft; }
|
||||
bool ownsMinecraft() const { return true; }
|
||||
bool hasProfile() const { return data.profileId().size() != 0; }
|
||||
|
||||
QString typeString() const
|
||||
|
||||
@@ -141,13 +141,13 @@ 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;
|
||||
}
|
||||
// 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;
|
||||
// }
|
||||
|
||||
ChooseOfflineNameDialog dialog(tr("Please enter your desired username to add your offline account."), this);
|
||||
if (dialog.exec() != QDialog::Accepted) {
|
||||
|
||||
Reference in New Issue
Block a user