mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
COSMETIC: Added monochrome tray icon
This commit is contained in:
@@ -1032,6 +1032,13 @@ public:
|
||||
void setConfirmTorrentDeletion(bool enabled) {
|
||||
setValue(QString::fromUtf8("Preferences/Advanced/confirmTorrentDeletion"), enabled);
|
||||
}
|
||||
|
||||
bool useMonochromeTrayIcon() const {
|
||||
return value(QString::fromUtf8("Preferences/Advanced/useMonochromeTrayIcon"), false).toBool();
|
||||
}
|
||||
void setUseMonochromeTrayIcon(bool use) {
|
||||
setValue(QString::fromUtf8("Preferences/Advanced/useMonochromeTrayIcon"), use);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // PREFERENCES_H
|
||||
|
||||
Reference in New Issue
Block a user