NOISSUE fix some error mappings for Mojang accounts
This commit is contained in:
parent
d37003b1de
commit
c8ca6acc15
2 changed files with 3 additions and 6 deletions
|
@ -175,6 +175,8 @@ void LaunchController::login() {
|
|||
}
|
||||
return;
|
||||
}
|
||||
case AccountState::Errored:
|
||||
// This means some sort of soft error that we can fix with a refresh ... so let's refresh.
|
||||
case AccountState::Unchecked: {
|
||||
m_accountToUse->refresh();
|
||||
// NOTE: fallthrough intentional
|
||||
|
@ -196,11 +198,6 @@ void LaunchController::login() {
|
|||
return;
|
||||
}
|
||||
*/
|
||||
case AccountState::Errored: {
|
||||
// This means some sort of soft error that we can fix with a refresh ... so let's refresh.
|
||||
// TODO: implement
|
||||
return;
|
||||
}
|
||||
case AccountState::Expired: {
|
||||
auto errorString = tr("The account has expired and needs to be logged into manually again.");
|
||||
QMessageBox::warning(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue