Fix SingleApplication static functions called from instance
This commit is contained in:
committed by
Jonas Kvinge
parent
8ca0b54b18
commit
68c44daef2
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user