mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Use qt5 syntax for a few remaining SLOT()
This commit is contained in:
parent
768262ae64
commit
4cfa163bbd
4 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue