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:
Eugene Shalygin
2017-01-13 17:01:36 +01:00
parent 3c1f747c25
commit 9d3378bd3b
2 changed files with 9 additions and 1 deletions

View File

@@ -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);