Kit settings page: Fix inconsistent labels

The widget expected the KitInformation display names to have a colon at
the end, which not all of them did. Instead, add the colon in the
widget, because it's not really part of the name.

Change-Id: I87d613031b462903bf4039eb7f8bdb99c15e37d6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2019-02-06 11:29:49 +01:00
parent 4599d1ad4d
commit a0254ea7ee
6 changed files with 11 additions and 11 deletions

View File

@@ -97,7 +97,7 @@ CMakeKitConfigWidget::~CMakeKitConfigWidget()
QString CMakeKitConfigWidget::displayName() const
{
return tr("CMake Tool:");
return tr("CMake Tool");
}
void CMakeKitConfigWidget::makeReadOnly()
@@ -230,7 +230,7 @@ CMakeGeneratorKitConfigWidget::~CMakeGeneratorKitConfigWidget()
QString CMakeGeneratorKitConfigWidget::displayName() const
{
return tr("CMake generator:");
return tr("CMake generator");
}
void CMakeGeneratorKitConfigWidget::makeReadOnly()