fix: emit abort in LaunchController
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
4ed296bad4
commit
355762aa30
@ -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;
|
||||
|
@ -160,6 +160,7 @@ void LaunchController::login() {
|
||||
);
|
||||
|
||||
if (result == QMessageBox::No) {
|
||||
emitAborted();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user