diff --git a/launcher/minecraft/auth/AuthFlow.cpp b/launcher/minecraft/auth/AuthFlow.cpp index 5b8f98122..9b017094c 100644 --- a/launcher/minecraft/auth/AuthFlow.cpp +++ b/launcher/minecraft/auth/AuthFlow.cpp @@ -23,7 +23,6 @@ AuthFlow::AuthFlow(AccountData* data, Action action) : Task(), m_data(data) if (action == Action::DeviceCode) { auto oauthStep = makeShared(m_data); connect(oauthStep.get(), &MSADeviceCodeStep::authorizeWithBrowser, this, &AuthFlow::authorizeWithBrowserWithExtra); - connect(this, &Task::aborted, oauthStep.get(), &MSADeviceCodeStep::abort); m_steps.append(oauthStep); } else { auto oauthStep = makeShared(m_data, action == Action::Refresh); diff --git a/launcher/minecraft/auth/steps/MSADeviceCodeStep.cpp b/launcher/minecraft/auth/steps/MSADeviceCodeStep.cpp index 78762a32a..daea910ef 100644 --- a/launcher/minecraft/auth/steps/MSADeviceCodeStep.cpp +++ b/launcher/minecraft/auth/steps/MSADeviceCodeStep.cpp @@ -153,7 +153,6 @@ void MSADeviceCodeStep::abort() m_request->abort(); } m_is_aborted = true; - emit finished(AccountTaskState::STATE_FAILED_HARD, tr("Task aborted")); } void MSADeviceCodeStep::startPoolTimer()