mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 17:35:00 -06:00
Support fallback when selecting theme icons
Fallback icon theme are not supported everywhere. Hence we mimic signature of QIcon::fromTheme().
This commit is contained in:
committed by
sledgehammer999
parent
ddb8e4d21a
commit
2946ab7e7a
@@ -44,6 +44,7 @@ public:
|
||||
static GuiIconProvider *instance();
|
||||
|
||||
QIcon getIcon(const QString &iconId);
|
||||
QIcon getIcon(const QString &iconId, const QString &fallback);
|
||||
QIcon getFlagIcon(const QString &countryIsoCode);
|
||||
QString getIconPath(const QString &iconId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user