NOISSUE account tweaks

This commit is contained in:
Petr Mrázek 2021-12-08 01:22:57 +01:00
parent 90a62c429a
commit dba4c452e0
3 changed files with 10 additions and 0 deletions

View File

@ -438,3 +438,7 @@ QString AccountData::accountDisplayString() const {
}
}
}
QString AccountData::lastError() const {
return errorString;
}

View File

@ -74,6 +74,8 @@ struct AccountData {
QString profileId() const;
QString profileName() const;
QString lastError() const;
AccountType type = AccountType::MSA;
bool legacy = false;
bool canMigrateToMSA = false;

View File

@ -168,6 +168,10 @@ public: /* queries */
void fillSession(AuthSessionPtr session);
QString lastError() const {
return data.lastError();
}
signals:
/**
* This signal is emitted when the account changes