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