mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Use qt5 syntax for a few remaining SLOT()
This commit is contained in:
parent
e33df4dd8c
commit
800f966df9
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