forked from qt-creator/qt-creator
Wizards: Turn icons into themed icons
Turn the current un-themed icons into icon masks which now get recolored according to the current theme. Change-Id: I435f9a43dae04797ad0b948992f77179d93164a8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -433,7 +433,8 @@ void IWizardFactory::initialize()
|
||||
static QIcon iconWithText(const QIcon &icon, const QString &text)
|
||||
{
|
||||
if (icon.isNull()) {
|
||||
static const QIcon fallBack(":/utils/images/wizardicon-file.png");
|
||||
static const QIcon fallBack =
|
||||
IWizardFactory::themedIcon(":/utils/images/wizardicon-file.png");
|
||||
return iconWithText(fallBack, text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user