mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 00:47:21 -06:00
Prevent app from being closed when disabling system tray icon
PR #20627. Closes #20604.
This commit is contained in:
committed by
Vladimir Golovnev (Glassez)
parent
694661d751
commit
020b49add1
@@ -258,6 +258,7 @@ Application::Application(int &argc, char **argv)
|
||||
setAttribute(Qt::AA_UseHighDpiPixmaps, true); // opt-in to the high DPI pixmap support
|
||||
#endif
|
||||
setQuitOnLastWindowClosed(false);
|
||||
setQuitLockEnabled(false);
|
||||
QPixmapCache::setCacheLimit(PIXMAP_CACHE_SIZE);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user