Use tray icon from system theme only if option is set

PR #18733.
This commit is contained in:
Vladimir Golovnev
2023-03-22 13:51:39 +03:00
committed by GitHub
parent 8bcac1bed2
commit 77bd09bb8b
4 changed files with 21 additions and 38 deletions

View File

@@ -78,6 +78,7 @@ private:
void onPreferencesChanged();
#ifndef Q_OS_MACOS
void createTrayIcon();
QIcon getSystrayIcon() const;
#endif // Q_OS_MACOS
CachedSettingValue<bool> m_storeNotificationEnabled;