diff options
author | Alessandro Portale <[email protected]> | 2016-09-20 10:47:09 +0200 |
---|---|---|
committer | Alessandro Portale <[email protected]> | 2016-09-20 12:52:49 +0000 |
commit | e809594faebc13157be897268f1bf1f48ca0506b (patch) | |
tree | cbc6822501afcdec6fd82d54a6b2128ff38a8c3f /src/plugins/cpptools/cppfilesettingspage.cpp | |
parent | c71c00cf480c052231959e6f36b5606ddcc9dc9c (diff) |
Core: Make IOptionsPage::categoryIcon a Utils::Icon
This is necessary for themable + HighDPI icons in the options dialog.
Change-Id: I8e3ff87a24591af40bb76b39cd970443d7678fae
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/cpptools/cppfilesettingspage.cpp')
-rw-r--r-- | src/plugins/cpptools/cppfilesettingspage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppfilesettingspage.cpp b/src/plugins/cpptools/cppfilesettingspage.cpp index d46eae8318b..4fcc68c6dc6 100644 --- a/src/plugins/cpptools/cppfilesettingspage.cpp +++ b/src/plugins/cpptools/cppfilesettingspage.cpp @@ -363,7 +363,7 @@ CppFileSettingsPage::CppFileSettingsPage(QSharedPointer<CppFileSettings> &settin setDisplayName(QCoreApplication::translate("CppTools", Constants::CPP_FILE_SETTINGS_NAME)); setCategory(Constants::CPP_SETTINGS_CATEGORY); setDisplayCategory(QCoreApplication::translate("CppTools", Constants::CPP_SETTINGS_TR_CATEGORY)); - setCategoryIcon(QLatin1String(Constants::SETTINGS_CATEGORY_CPP_ICON)); + setCategoryIcon(Utils::Icon(Constants::SETTINGS_CATEGORY_CPP_ICON)); } QWidget *CppFileSettingsPage::widget() |