Core: Make IOptionsPageProvider::categoryIcon a Utils::Icon

...just like it is with IOptionsPage

Change-Id: I033891f1a908be24b05103cb13a4ef628994d2a7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2018-04-23 18:02:55 +02:00
parent ce84f64d1b
commit 3d42f98017
4 changed files with 4 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ SettingsPageProvider::SettingsPageProvider(QObject *parent)
setCategory(Designer::Constants::SETTINGS_CATEGORY);
setDisplayCategory(QCoreApplication::translate("Designer",
Designer::Constants::SETTINGS_TR_CATEGORY));
setCategoryIcon(Designer::Constants::SETTINGS_CATEGORY_ICON);
setCategoryIcon(Utils::Icon(":/core/images/category_design.png"));
}
QList<Core::IOptionsPage *> SettingsPageProvider::pages() const