diff options
| author | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-14 10:33:34 +0200 |
|---|---|---|
| committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2022-04-26 21:59:07 +0200 |
| commit | c5e36ca85a4d8cbc68caa8c7993638ef32386709 (patch) | |
| tree | 7853a9ac72ff2109be161fb8352e1fc0f7369301 /src/tools/uic/cpp/cppwriteincludes.cpp | |
| parent | cd9cbc34db2fc27ba505b68af6f6418642058839 (diff) | |
uic: replace remaining uses of QLatin1String with QLatin1StringView
Task-number: QTBUG-98434
Change-Id: Ied042c0a61e48844694f6a94f0423735e92fb6d3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteincludes.cpp')
| -rw-r--r-- | src/tools/uic/cpp/cppwriteincludes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/uic/cpp/cppwriteincludes.cpp b/src/tools/uic/cpp/cppwriteincludes.cpp index 870f24bcbf0..593430d61cb 100644 --- a/src/tools/uic/cpp/cppwriteincludes.cpp +++ b/src/tools/uic/cpp/cppwriteincludes.cpp @@ -64,9 +64,9 @@ WriteIncludes::WriteIncludes(Uic *uic) : WriteIncludesBase(uic), // for the "Phonon::Someclass" classes, however. const QString namespaceDelimiter = "::"_L1; for (const auto &e : classInfoEntries()) { - const QString klass = QLatin1String(e.klass); - const QString module = QLatin1String(e.module); - QLatin1String header = QLatin1String(e.header); + const QString klass = QLatin1StringView(e.klass); + const QString module = QLatin1StringView(e.module); + QLatin1StringView header = QLatin1StringView(e.header); if (klass.contains(namespaceDelimiter)) { m_classToHeader.insert(klass, moduleHeader(module, header)); } else { |
