Only call QSystemTrayIcon::isSystemTrayAvailable once
Workaround file descriptor leak Fixes #724
This commit is contained in:
@@ -77,12 +77,13 @@ public:
|
||||
void Load() override;
|
||||
void Save() override;
|
||||
|
||||
private slots:
|
||||
private slots:
|
||||
void ShowTrayIconToggled(bool on);
|
||||
|
||||
private:
|
||||
private:
|
||||
Ui_BehaviourSettingsPage *ui_;
|
||||
QMap<QString, QString> language_map_;
|
||||
bool systemtray_available_;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user