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:
@@ -51,7 +51,7 @@ NimCodeStyleSettingsPage::NimCodeStyleSettingsPage(QWidget *parent)
|
||||
setDisplayName(tr(Nim::Constants::C_NIMCODESTYLESETTINGSPAGE_DISPLAY));
|
||||
setCategory(Nim::Constants::C_NIMCODESTYLESETTINGSPAGE_CATEGORY);
|
||||
setDisplayCategory(tr(Nim::Constants::C_NIMCODESTYLESETTINGSPAGE_CATEGORY_DISPLAY));
|
||||
setCategoryIcon(QLatin1String(Nim::Constants::C_NIM_ICON_PATH));
|
||||
setCategoryIcon(Utils::Icon(Nim::Constants::C_NIM_ICON_PATH));
|
||||
}
|
||||
|
||||
NimCodeStyleSettingsPage::~NimCodeStyleSettingsPage()
|
||||
|
||||
Reference in New Issue
Block a user