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:
Alessandro Portale
2021-09-23 16:47:20 +02:00
parent 7958de05f5
commit 05e89384e2
75 changed files with 129 additions and 202 deletions

View File

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