CppFileSettingsWidget: Add missing Tr::tr()

Change-Id: I1feea8db0597d48f7fb966c786103393d0d91487
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Jarek Kobus
2023-11-10 16:25:32 +01:00
parent c5cb637b96
commit aef4c32809
2 changed files with 3 additions and 3 deletions

View File

@@ -294,7 +294,7 @@ ClangdSettingsWidget::ClangdSettingsWidget(const ClangdSettings::Data &settingsD
d->autoIncludeHeadersCheckBox.setChecked(settings.autoIncludeHeaders()); d->autoIncludeHeadersCheckBox.setChecked(settings.autoIncludeHeaders());
d->autoIncludeHeadersCheckBox.setToolTip(autoIncludeToolTip); d->autoIncludeHeadersCheckBox.setToolTip(autoIncludeToolTip);
d->threadLimitSpinBox.setValue(settings.workerThreadLimit()); d->threadLimitSpinBox.setValue(settings.workerThreadLimit());
d->threadLimitSpinBox.setSpecialValueText("Automatic"); d->threadLimitSpinBox.setSpecialValueText(Tr::tr("Automatic"));
d->threadLimitSpinBox.setToolTip(workerThreadsToolTip); d->threadLimitSpinBox.setToolTip(workerThreadsToolTip);
d->documentUpdateThreshold.setMinimum(50); d->documentUpdateThreshold.setMinimum(50);
d->documentUpdateThreshold.setMaximum(10000); d->documentUpdateThreshold.setMaximum(10000);

View File

@@ -300,7 +300,7 @@ CppFileSettingsWidget::CppFileSettingsWidget(CppFileSettings *settings)
Column { Column {
Group { Group {
title("Headers"), title(Tr::tr("Headers")),
Form { Form {
Tr::tr("&Suffix:"), m_headerSuffixComboBox, st, br, Tr::tr("&Suffix:"), m_headerSuffixComboBox, st, br,
Tr::tr("S&earch paths:"), m_headerSearchPathsEdit, br, Tr::tr("S&earch paths:"), m_headerSearchPathsEdit, br,
@@ -309,7 +309,7 @@ CppFileSettingsWidget::CppFileSettingsWidget(CppFileSettings *settings)
} }
}, },
Group { Group {
title("Sources"), title(Tr::tr("Sources")),
Form { Form {
Tr::tr("S&uffix:"), m_sourceSuffixComboBox, st, br, Tr::tr("S&uffix:"), m_sourceSuffixComboBox, st, br,
Tr::tr("Se&arch paths:"), m_sourceSearchPathsEdit, br, Tr::tr("Se&arch paths:"), m_sourceSearchPathsEdit, br,