mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
made identty certain if the login ended
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
2ac89c2378
commit
9d7c36c2fc
2 changed files with 2 additions and 2 deletions
|
|
@ -29,5 +29,5 @@ void GetSkinStep::onRequestDone()
|
|||
{
|
||||
if (m_task->error() == QNetworkReply::NoError)
|
||||
m_data->minecraftProfile.skin.data = *m_response;
|
||||
emit finished(AccountTaskState::STATE_SUCCEEDED, tr("Got skin"));
|
||||
emit finished(AccountTaskState::STATE_WORKING, tr("Got skin"));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ void MinecraftProfileStep::onRequestDone()
|
|||
if (m_task->error() == QNetworkReply::ContentNotFoundError) {
|
||||
// NOTE: Succeed even if we do not have a profile. This is a valid account state.
|
||||
m_data->minecraftProfile = MinecraftProfile();
|
||||
emit finished(AccountTaskState::STATE_SUCCEEDED, tr("Account has no Minecraft profile."));
|
||||
emit finished(AccountTaskState::STATE_WORKING, tr("Account has no Minecraft profile."));
|
||||
return;
|
||||
}
|
||||
if (m_task->error() != QNetworkReply::NoError) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue