Skip to content

Commit

Permalink
Prevent app from being closed when disabling system tray icon
Browse files Browse the repository at this point in the history
PR #20627.
Closes #20604.
  • Loading branch information
glassez authored Mar 29, 2024
1 parent f204678 commit f5cac13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ Application::Application(int &argc, char **argv)
#if !defined(DISABLE_GUI)
setDesktopFileName(u"org.qbittorrent.qBittorrent"_s);
setQuitOnLastWindowClosed(false);
setQuitLockEnabled(false);
QPixmapCache::setCacheLimit(PIXMAP_CACHE_SIZE);
#endif

Expand Down

0 comments on commit f5cac13

Please sign in to comment.