Merge pull request #1018 from Scrumplex/fix-infinite-auth-loop

This commit is contained in:
timoreo 2022-08-10 18:14:26 +02:00 committed by Sefa Eyeoglu
parent 97ce8a94e9
commit a725dc82a7
No known key found for this signature in database
GPG key ID: C10411294912A422
2 changed files with 18 additions and 5 deletions

View file

@ -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;