mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Disable system tray icon on Mac OS X
This commit is contained in:
@@ -120,7 +120,11 @@ public:
|
||||
}
|
||||
|
||||
bool systrayIntegration() const {
|
||||
#ifdef Q_WS_MAC
|
||||
return false;
|
||||
#else
|
||||
return value(QString::fromUtf8("Preferences/General/SystrayEnabled"), true).toBool();
|
||||
#endif
|
||||
}
|
||||
|
||||
void setSystrayIntegration(bool enabled) {
|
||||
|
||||
Reference in New Issue
Block a user