C++ Editor: Fix UI text to follow the guidelines

Change-Id: Icea20999410df78d01222d6ebcfb9cdd497d5068
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Leena Miettinen
2021-03-18 11:14:53 +01:00
parent 131c7e869f
commit 4c58465b25
2 changed files with 2 additions and 2 deletions

View File

@@ -4556,7 +4556,7 @@ public:
}); });
const auto mainLayout = new QVBoxLayout(this); 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."))); "to be created.")));
for (auto checkBox : checkBoxes) { for (auto checkBox : checkBoxes) {
if (checkBox) if (checkBox)

View File

@@ -126,7 +126,7 @@ bool CppQuickFixProjectsSettings::useCustomSettings()
} else if (m_settingsFile != defaultLocation) { } else if (m_settingsFile != defaultLocation) {
QMessageBox msgBox(Core::ICore::dialogParent()); QMessageBox msgBox(Core::ICore::dialogParent());
msgBox.setText(tr("Quick Fix settings are saved in a file. Existing settings file " 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?") "new one be created?")
.arg(m_settingsFile.toString())); .arg(m_settingsFile.toString()));
QPushButton *cancel = msgBox.addButton(QMessageBox::Cancel); QPushButton *cancel = msgBox.addButton(QMessageBox::Cancel);