diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2016-09-20 10:47:09 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2016-09-20 12:52:49 +0000 |
commit | e809594faebc13157be897268f1bf1f48ca0506b (patch) | |
tree | cbc6822501afcdec6fd82d54a6b2128ff38a8c3f /src/plugins/updateinfo | |
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 <hjk@qt.io>
Diffstat (limited to 'src/plugins/updateinfo')
-rw-r--r-- | src/plugins/updateinfo/settingspage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/updateinfo/settingspage.cpp b/src/plugins/updateinfo/settingspage.cpp index 23a77fcd05..e8e07a7d9d 100644 --- a/src/plugins/updateinfo/settingspage.cpp +++ b/src/plugins/updateinfo/settingspage.cpp @@ -47,7 +47,7 @@ SettingsPage::SettingsPage(UpdateInfoPlugin *plugin) { setId(FILTER_OPTIONS_PAGE_ID); setCategory(Core::Constants::SETTINGS_CATEGORY_CORE); - setCategoryIcon(QLatin1String(Core::Constants::SETTINGS_CATEGORY_CORE_ICON)); + setCategoryIcon(Utils::Icon(Core::Constants::SETTINGS_CATEGORY_CORE_ICON)); setDisplayName(QCoreApplication::translate("Update", FILTER_OPTIONS_PAGE)); setDisplayCategory(QCoreApplication::translate("Core", Core::Constants::SETTINGS_TR_CATEGORY_CORE)); } |