From 9d7c36c2fcdbf6e5c99270e875ef27acaf589f71 Mon Sep 17 00:00:00 2001 From: Trial97 Date: Thu, 27 Jun 2024 15:35:44 +0300 Subject: [PATCH] made identty certain if the login ended Signed-off-by: Trial97 --- launcher/minecraft/auth/steps/GetSkinStep.cpp | 2 +- launcher/minecraft/auth/steps/MinecraftProfileStep.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/minecraft/auth/steps/GetSkinStep.cpp b/launcher/minecraft/auth/steps/GetSkinStep.cpp index d9785b16a..a54366b50 100644 --- a/launcher/minecraft/auth/steps/GetSkinStep.cpp +++ b/launcher/minecraft/auth/steps/GetSkinStep.cpp @@ -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")); } diff --git a/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp b/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp index 305f44320..aef6f43af 100644 --- a/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp +++ b/launcher/minecraft/auth/steps/MinecraftProfileStep.cpp @@ -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) {