summaryrefslogtreecommitdiff
path: root/src/designer/src/lib/shared/morphmenu.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-21 15:35:44 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-04-21 17:18:09 +0200
commit00ff2b06a17e90921d79831a62e95eecf8c6954a (patch)
tree40877b8e595eda601252c995f57d1dd3166c8cd3 /src/designer/src/lib/shared/morphmenu.cpp
parent6b7f6990aa1abed20c260a2eb2869f39ce59f8f7 (diff)
downloadqttools-00ff2b06a17e90921d79831a62e95eecf8c6954a.tar.gz
Qt Designer: Replace QLatin1Char by modern literals
Pick-to: 6.5 Change-Id: Ied11784e840d03542a5db281590729838ed625c3 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/designer/src/lib/shared/morphmenu.cpp')
-rw-r--r--src/designer/src/lib/shared/morphmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/lib/shared/morphmenu.cpp b/src/designer/src/lib/shared/morphmenu.cpp
index 1ad8a4f3a..fb36d4680 100644
--- a/src/designer/src/lib/shared/morphmenu.cpp
+++ b/src/designer/src/lib/shared/morphmenu.cpp
@@ -188,9 +188,9 @@ static QString suggestObjectName(const QString &oldClassName, const QString &new
{
QString oldClassPart = oldClassName;
QString newClassPart = newClassName;
- if (oldClassPart.startsWith(QLatin1Char('Q')))
+ if (oldClassPart.startsWith(u'Q'))
oldClassPart.remove(0, 1);
- if (newClassPart.startsWith(QLatin1Char('Q')))
+ if (newClassPart.startsWith(u'Q'))
newClassPart.remove(0, 1);
QString newName = oldName;