mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
Use a queued signal to quit from AccountManager::saveLoginStatus()
This commit is contained in:
parent
ca797e30e4
commit
b4e1c2264c
1 changed files with 1 additions and 1 deletions
|
@ -956,7 +956,7 @@ void AccountManager::saveLoginStatus(bool isLoggedIn) {
|
|||
QProcess launcher;
|
||||
launcher.setProgram(launcherPath);
|
||||
launcher.startDetached();
|
||||
qApp->quit();
|
||||
QMetaObject::invokeMethod(qApp, "quit", Qt::QueuedConnection);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue