From 4c58465b25e59377a19e2a930edec4917c5342c8 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Thu, 18 Mar 2021 11:14:53 +0100 Subject: [PATCH] C++ Editor: Fix UI text to follow the guidelines Change-Id: Icea20999410df78d01222d6ebcfb9cdd497d5068 Reviewed-by: Eike Ziller --- src/plugins/cppeditor/cppquickfixes.cpp | 2 +- src/plugins/cppeditor/cppquickfixprojectsettings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/cppeditor/cppquickfixes.cpp b/src/plugins/cppeditor/cppquickfixes.cpp index 43a709e0b3a..d15d33e7b39 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 8299c255e4f..78f1a5acf76 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);