aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2021-03-18 11:14:53 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2021-03-18 10:24:19 +0000
commit4c58465b25e59377a19e2a930edec4917c5342c8 (patch)
tree6b6627adbe0c8a03ed9a0a2410407485d031334a
parent131c7e869f0dbd6945b0d81fa2e686dd2960780b (diff)
C++ Editor: Fix UI text to follow the guidelines
Change-Id: Icea20999410df78d01222d6ebcfb9cdd497d5068 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--src/plugins/cppeditor/cppquickfixes.cpp2
-rw-r--r--src/plugins/cppeditor/cppquickfixprojectsettings.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppquickfixes.cpp b/src/plugins/cppeditor/cppquickfixes.cpp
index 43a709e0b3..d15d33e7b3 100644
--- a/src/plugins/cppeditor/cppquickfixes.cpp
+++ b/src/plugins/cppeditor/cppquickfixes.cpp
@@ -4556,7 +4556,7 @@ public:
});
const auto mainLayout = new QVBoxLayout(this);
- mainLayout->addWidget(new QLabel(tr("Please select the getters and/or setters "
+ mainLayout->addWidget(new QLabel(tr("Select the getters and setters "
"to be created.")));
for (auto checkBox : checkBoxes) {
if (checkBox)
diff --git a/src/plugins/cppeditor/cppquickfixprojectsettings.cpp b/src/plugins/cppeditor/cppquickfixprojectsettings.cpp
index 8299c255e4..78f1a5acf7 100644
--- a/src/plugins/cppeditor/cppquickfixprojectsettings.cpp
+++ b/src/plugins/cppeditor/cppquickfixprojectsettings.cpp
@@ -126,7 +126,7 @@ bool CppQuickFixProjectsSettings::useCustomSettings()
} else if (m_settingsFile != defaultLocation) {
QMessageBox msgBox(Core::ICore::dialogParent());
msgBox.setText(tr("Quick Fix settings are saved in a file. Existing settings file "
- "'%1' found. Should this file be used or a "
+ "\"%1\" found. Should this file be used or a "
"new one be created?")
.arg(m_settingsFile.toString()));
QPushButton *cancel = msgBox.addButton(QMessageBox::Cancel);