aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
authortimoreo <contact@timoreo.fr>2022-08-10 18:14:26 +0200
committerGitHub <noreply@github.com>2022-08-10 18:14:26 +0200
commita5da3db9662a94b601bb203ce75084be522cfa91 (patch)
tree4e700a374156f05d086a6e9fc2122a96075a5bff /launcher/Application.cpp
parent75f92de8f8517142289dc76d071cfb4fa724598c (diff)
parent355762aa303361819340cc2f8b92ada326a7e03d (diff)
downloadPrismLauncher-a5da3db9662a94b601bb203ce75084be522cfa91.tar.gz
PrismLauncher-a5da3db9662a94b601bb203ce75084be522cfa91.tar.bz2
PrismLauncher-a5da3db9662a94b601bb203ce75084be522cfa91.zip
Merge pull request #1018 from Scrumplex/fix-infinite-auth-loop
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r--launcher/Application.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index 97d41993..9268a8ae 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -1258,6 +1258,9 @@ bool Application::launch(
}
connect(controller.get(), &LaunchController::succeeded, this, &Application::controllerSucceeded);
connect(controller.get(), &LaunchController::failed, this, &Application::controllerFailed);
+ connect(controller.get(), &LaunchController::aborted, this, [this] {
+ controllerFailed(tr("Aborted"));
+ });
addRunningInstance();
controller->start();
return true;