diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-04-20 15:45:11 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-04-23 11:12:26 +0000 |
commit | d1ec4c120410b7351fc31df659a7f3be7ed4e93f (patch) | |
tree | 87f5c7c73ca95e2b2e14747fdc20659c79d5d59d /src/plugins/macros | |
parent | 4b9945c32981105bfae3ba59f9565757f0dc7417 (diff) | |
download | qt-creator-d1ec4c120410b7351fc31df659a7f3be7ed4e93f.tar.gz |
Clean up options page category display name and icon set up
In cases where plugins extend an existing settings category of a plugin
that they depend on anyhow, they do not need to specify the translated
display name and icon for that category.
Some options pages were already not setting the icon, but still the
translated name, which makes even less sense.
Clean up this mess, only setting display name and icon if that is
necessary.
Change-Id: I8bc9d0c51b11d48f1d847337838704d663e70b45
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/macros')
-rw-r--r-- | src/plugins/macros/macrooptionspage.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/macros/macrooptionspage.cpp b/src/plugins/macros/macrooptionspage.cpp index 44c9d5fbf5..1cc8ec9875 100644 --- a/src/plugins/macros/macrooptionspage.cpp +++ b/src/plugins/macros/macrooptionspage.cpp @@ -45,8 +45,6 @@ MacroOptionsPage::MacroOptionsPage(QObject *parent) setId(Constants::M_OPTIONS_PAGE); setDisplayName(QCoreApplication::translate("Macros", Constants::M_OPTIONS_TR_PAGE)); setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY); - setDisplayCategory(QCoreApplication::translate("TextEditor", - TextEditor::Constants::TEXT_EDITOR_SETTINGS_TR_CATEGORY)); } QWidget *MacroOptionsPage::widget() |