clang-format

Signed-off-by: Evan Goode <mail@evangoo.de>
This commit is contained in:
Evan Goode 2024-09-19 13:50:30 -04:00
parent 5d803ccc86
commit dffe14bdab

View File

@ -224,14 +224,13 @@ void Yggdrasil::processResponse(QJsonObject responseData)
changeState(AccountTaskState::STATE_FAILED_HARD, tr("Authentication server didn't send available profiles."));
return;
} else {
if(profiles.toArray().isEmpty()) {
if (profiles.toArray().isEmpty()) {
changeState(AccountTaskState::STATE_FAILED_HARD, tr("Account has no available profile."));
return;
} else {
profile = profiles.toArray().first();
}
}
}
auto profileObj = profile.toObject();