GH-3392 checking for migration status and refresh button in accounts list

This commit is contained in:
Petr Mrázek
2021-08-29 22:55:33 +02:00
parent 7239502675
commit 3171014301
8 changed files with 124 additions and 0 deletions

View File

@ -117,6 +117,14 @@ public: /* queries */
return data.profileName();
}
bool canMigrate() const {
return data.canMigrateToMSA;
}
bool isMSA() const {
return data.type == AccountType::MSA;
}
QString typeString() const {
switch(data.type) {
case AccountType::Mojang: {