diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2018-04-23 18:02:55 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2018-04-24 07:53:34 +0000 |
commit | 3d42f98017f040f92dc7b6f8295e6f8ad74aa8fd (patch) | |
tree | 6753e30252fe27a6af4ffae41ffd95c15b9de218 /src/plugins/designer | |
parent | ce84f64d1bc4bcd95aa9d0418b2fabb820f3372c (diff) | |
download | qt-creator-3d42f98017f040f92dc7b6f8295e6f8ad74aa8fd.tar.gz |
Core: Make IOptionsPageProvider::categoryIcon a Utils::Icon
...just like it is with IOptionsPage
Change-Id: I033891f1a908be24b05103cb13a4ef628994d2a7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/designer')
-rw-r--r-- | src/plugins/designer/designerconstants.h | 1 | ||||
-rw-r--r-- | src/plugins/designer/settingspage.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/designer/designerconstants.h b/src/plugins/designer/designerconstants.h index a097a991d0..62497bf945 100644 --- a/src/plugins/designer/designerconstants.h +++ b/src/plugins/designer/designerconstants.h @@ -36,7 +36,6 @@ const char C_DESIGNER_XML_EDITOR[] = "Designer Xml Editor"; const char C_DESIGNER_XML_DISPLAY_NAME[] = QT_TRANSLATE_NOOP("Designer", "Form Editor"); const char SETTINGS_CATEGORY[] = "P.Designer"; -const char SETTINGS_CATEGORY_ICON[] = ":/core/images/category_design.png"; const char SETTINGS_TR_CATEGORY[] = QT_TRANSLATE_NOOP("Designer", "Designer"); // Context diff --git a/src/plugins/designer/settingspage.cpp b/src/plugins/designer/settingspage.cpp index 15275ce863..078c8e0bda 100644 --- a/src/plugins/designer/settingspage.cpp +++ b/src/plugins/designer/settingspage.cpp @@ -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 |