diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-03-21 15:17:15 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-04-11 09:43:06 +0000 |
commit | eb3e5c9c312a22b61fa951aefea81126e9026f71 (patch) | |
tree | 259969716d19cfea1ec24e44a6fb8edade6ef174 /src/designer/src/components/propertyeditor/propertyeditor.cpp | |
parent | f8d73cf765c9c81d195ccd7e5f4f50574d82e859 (diff) | |
download | qttools-eb3e5c9c312a22b61fa951aefea81126e9026f71.tar.gz |
Qt Designer: Replace QLatin1String by modern literals
Pick-to: 6.5
Change-Id: I1a76bf2224795275a8c62cf37144936bda87cbca
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/designer/src/components/propertyeditor/propertyeditor.cpp')
-rw-r--r-- | src/designer/src/components/propertyeditor/propertyeditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/components/propertyeditor/propertyeditor.cpp b/src/designer/src/components/propertyeditor/propertyeditor.cpp index 751d92342..c7bfd2861 100644 --- a/src/designer/src/components/propertyeditor/propertyeditor.cpp +++ b/src/designer/src/components/propertyeditor/propertyeditor.cpp @@ -1006,8 +1006,8 @@ void PropertyEditor::setObject(QObject *object) descriptionToolTip = customData.propertyToolTip(propertyName); if (descriptionToolTip.isEmpty()) { if (const char *typeS = typeName(type)) { - descriptionToolTip = propertyName + QLatin1String(" (") - + QLatin1String(typeS) + QLatin1Char(')'); + descriptionToolTip = propertyName + " ("_L1 + + QLatin1StringView(typeS) + ')'_L1; } } if (!descriptionToolTip.isEmpty()) |