Use qt5 syntax for a few remaining SLOT()

This commit is contained in:
thalieht 2018-05-10 20:42:19 +03:00
parent 768262ae64
commit 4cfa163bbd
4 changed files with 8 additions and 4 deletions

View file

@ -660,7 +660,7 @@ void Application::shutdownCleanup(QSessionManager &manager)
// According to the qt docs we shouldn't call quit() inside a slot.
// aboutToQuit() is never emitted if the user hits "Cancel" in
// the above dialog.
QTimer::singleShot(0, qApp, SLOT(quit()));
QTimer::singleShot(0, qApp, &QCoreApplication::quit);
}
#endif