forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -31,8 +31,6 @@ namespace VcsBase {
|
||||
namespace Constants {
|
||||
|
||||
const char VCS_SETTINGS_CATEGORY[] = "V.Version Control";
|
||||
const char VCS_SETTINGS_TR_CATEGORY[] = QT_TRANSLATE_NOOP("VcsBase", "Version Control");
|
||||
const char SETTINGS_CATEGORY_VCS_ICON[] = ":/vcsbase/images/category_vcs.png";
|
||||
const char VCS_COMMON_SETTINGS_ID[] = "A.VCS.General";
|
||||
const char VCS_COMMON_SETTINGS_NAME[] = QT_TRANSLATE_NOOP("VcsBase", "General");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user