diff options
author | Mate Barany <mate.barany@qt.io> | 2022-09-01 17:48:08 +0200 |
---|---|---|
committer | Mate Barany <mate.barany@qt.io> | 2022-09-14 14:25:38 +0200 |
commit | 8d7d210aa59f4c6e7d370ec7b1fdee6dd8f15324 (patch) | |
tree | 9345f13fc1e74b4c7458d37fd3425203aaf9a545 /src/tools/uic/customwidgetsinfo.cpp | |
parent | 3a7027a1aee307ba5329b7b8a2f006523e080b58 (diff) |
uic: Change some QLatin1String literals to QString literals
While working on QTBUG-98434 some potential improvements were
found in the pre-existing code.
Some of the QLatin1String literals are used to initialize
QStrings or are converted to QStrings and so it makes sense to
replace them with QString literals.
As a related change, change the type of namespaceDelimitier from
QString to QL1SV, since it is used only for a function call and
that function has an overload to take QL1SV.
Task-number: QTBUG-103100
Change-Id: I56db6ddd84ad2a7133a765bb49ecd8f962ac5c13
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/tools/uic/customwidgetsinfo.cpp')
-rw-r--r-- | src/tools/uic/customwidgetsinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/uic/customwidgetsinfo.cpp b/src/tools/uic/customwidgetsinfo.cpp index 35689b8115..169cdad618 100644 --- a/src/tools/uic/customwidgetsinfo.cpp +++ b/src/tools/uic/customwidgetsinfo.cpp @@ -96,7 +96,7 @@ bool CustomWidgetsInfo::isAmbiguousSignal(const QString &className, QString CustomWidgetsInfo::realClassName(const QString &className) const { if (className == "Line"_L1) - return "QFrame"_L1; + return u"QFrame"_s; return className; } |