mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
- COSMETIC: Use alternating row colors in transfer list (set in program preferences)
This commit is contained in:
@@ -64,6 +64,11 @@ public:
|
||||
return settings.value(QString::fromUtf8("Preferences/General/RefreshInterval"), 1500).toUInt();
|
||||
}
|
||||
|
||||
static bool useAlternatingRowColors() {
|
||||
QSettings settings("qBittorrent", "qBittorrent");
|
||||
return settings.value(QString::fromUtf8("Preferences/General/AlternatingRowColors"), true).toBool();
|
||||
}
|
||||
|
||||
static bool systrayIntegration() {
|
||||
QSettings settings("qBittorrent", "qBittorrent");
|
||||
return settings.value(QString::fromUtf8("Preferences/General/SystrayEnabled"), true).toBool();
|
||||
|
||||
Reference in New Issue
Block a user