mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Use of system icon theme can now be disabled
This commit is contained in:
@@ -856,6 +856,16 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(Q_WS_X11) && (QT_VERSION >= QT_VERSION_CHECK(4,6,0))
|
||||
bool useSystemIconTheme() const {
|
||||
return value(QString::fromUtf8("Preferences/Advanced/useSystemIconTheme"), true).toBool();
|
||||
}
|
||||
|
||||
void useSystemIconTheme(bool enabled) {
|
||||
setValue(QString::fromUtf8("Preferences/Advanced/useSystemIconTheme"), enabled);
|
||||
}
|
||||
#endif
|
||||
|
||||
QStringList getTorrentLabels() const {
|
||||
return value("TransferListFilters/customLabels").toStringList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user