aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangcodemodel/clangprojectsettingspropertiespage.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-03-03 15:53:34 +0100
committerFriedemann Kleint <Friedemann.Kleint@digia.com>2014-03-03 18:11:22 +0100
commit249a8b2d24c58165988584309622c93173a25fd8 (patch)
tree1623628219e7f0c1ea18761165dd375386c745e3 /src/plugins/clangcodemodel/clangprojectsettingspropertiespage.cpp
parent4c4bb918867dd49603aa54efbfc824d2dbda1d1d (diff)
tr()-Fixes in CLANG code model.v3.1.0-beta1
Do not use QObject::tr(), use native file paths, use complete contexts. Change-Id: Icc4990b4c2ca5b9ae6f6b639db9e1a45a93e0a65 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/clangcodemodel/clangprojectsettingspropertiespage.cpp')
-rw-r--r--src/plugins/clangcodemodel/clangprojectsettingspropertiespage.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/clangcodemodel/clangprojectsettingspropertiespage.cpp b/src/plugins/clangcodemodel/clangprojectsettingspropertiespage.cpp
index 612372f811..40df18a843 100644
--- a/src/plugins/clangcodemodel/clangprojectsettingspropertiespage.cpp
+++ b/src/plugins/clangcodemodel/clangprojectsettingspropertiespage.cpp
@@ -48,8 +48,7 @@ QString ClangProjectSettingsPanelFactory::id() const
QString ClangProjectSettingsPanelFactory::displayName() const
{
- return QCoreApplication::translate("ClangProjectSettingsPropertiesPage",
- "Clang Settings");
+ return ClangProjectSettingsWidget::tr("Clang Settings");
}
int ClangProjectSettingsPanelFactory::priority() const
@@ -67,9 +66,7 @@ bool ClangProjectSettingsPanelFactory::supports(Project *project)
PropertiesPanel *ClangProjectSettingsPanelFactory::createPanel(Project *project)
{
PropertiesPanel *panel = new PropertiesPanel;
- panel->setDisplayName(QCoreApplication::translate(
- "ClangProjectSettingsPropertiesPage",
- "Clang Settings"));
+ panel->setDisplayName(ClangProjectSettingsWidget::tr("Clang Settings"));
panel->setWidget(new ClangProjectSettingsWidget(project));
return panel;
}