forked from qt-creator/qt-creator
Core: Make IOptionsPage::categoryIcon a Utils::Icon
This is necessary for themable + HighDPI icons in the options dialog. Change-Id: I8e3ff87a24591af40bb76b39cd970443d7678fae Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -41,7 +41,7 @@ SettingsPage::SettingsPage(QDesignerOptionsPageInterface *designerPage) :
|
||||
setCategory(Designer::Constants::SETTINGS_CATEGORY);
|
||||
setDisplayCategory(QCoreApplication::translate("Designer",
|
||||
Designer::Constants::SETTINGS_TR_CATEGORY));
|
||||
setCategoryIcon(QLatin1String(Designer::Constants::SETTINGS_CATEGORY_ICON));
|
||||
setCategoryIcon(Utils::Icon(Designer::Constants::SETTINGS_CATEGORY_ICON));
|
||||
}
|
||||
|
||||
QWidget *SettingsPage::widget()
|
||||
|
||||
Reference in New Issue
Block a user