Fix SingleApplication static functions called from instance

This commit is contained in:
EmmanuelMess
2021-09-09 20:46:13 -03:00
committed by Jonas Kvinge
parent 8ca0b54b18
commit 68c44daef2
7 changed files with 13 additions and 13 deletions

View File

@@ -1197,7 +1197,7 @@ void MainWindow::Exit() {
if (exit_count_ > 1) {
exit_ = true;
qApp->quit();
QCoreApplication::quit();
}
else {
if (app_->player()->engine()->is_fadeout_enabled()) {
@@ -1227,7 +1227,7 @@ void MainWindow::DoExit() {
void MainWindow::ExitFinished() {
exit_ = true;
qApp->quit();
QCoreApplication::quit();
}