diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-03-26 17:41:10 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-03-26 17:47:31 +0100 |
commit | cdf6b228211caa9b5ba131c9ef988e1d5362a98d (patch) | |
tree | c522292846ebceaf3ee3c31379e9fa9c743b5cc9 /src/plugins/projectexplorer | |
parent | 2d21060bc97cf7a20dde46e20c3b4a2c6cd50f64 (diff) |
Moved CMake settings page under Projects category
Diffstat (limited to 'src/plugins/projectexplorer')
-rw-r--r-- | src/plugins/projectexplorer/projectexplorerconstants.h | 1 | ||||
-rw-r--r-- | src/plugins/projectexplorer/projectexplorersettingspage.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectexplorerconstants.h b/src/plugins/projectexplorer/projectexplorerconstants.h index fa57502a13..eacf0f8399 100644 --- a/src/plugins/projectexplorer/projectexplorerconstants.h +++ b/src/plugins/projectexplorer/projectexplorerconstants.h @@ -187,6 +187,7 @@ const char * const RESOURCE_MIMETYPE = "application/vnd.nokia.xml.qt.resource"; // settings page const char * const PROJECTEXPLORER_SETTINGS_CATEGORY = "K.ProjectExplorer"; +const char * const PROJECTEXPLORER_SETTINGS_TR_CATEGORY = QT_TRANSLATE_NOOP("ProjectExplorer", "Projects"); const char * const PROJECTEXPLORER_SETTINGS_CATEGORY_ICON = ":/core/images/category_project.png"; const char * const PROJECTEXPLORER_SETTINGS_ID = "ProjectExplorer.ProjectExplorer"; diff --git a/src/plugins/projectexplorer/projectexplorersettingspage.cpp b/src/plugins/projectexplorer/projectexplorersettingspage.cpp index 32000e8064..adb2f9d894 100644 --- a/src/plugins/projectexplorer/projectexplorersettingspage.cpp +++ b/src/plugins/projectexplorer/projectexplorersettingspage.cpp @@ -134,7 +134,7 @@ QString ProjectExplorerSettingsPage::category() const QString ProjectExplorerSettingsPage::displayCategory() const { - return tr("Projects"); + return tr(Constants::PROJECTEXPLORER_SETTINGS_TR_CATEGORY); } QIcon ProjectExplorerSettingsPage::categoryIcon() const |