Disable system tray icon on Mac OS X

This commit is contained in:
Christophe Dumez
2012-02-22 20:06:11 +02:00
parent a5452d04ae
commit 5f5382297c
3 changed files with 9 additions and 1 deletions

View File

@@ -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) {