summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qlibrary_unix.cpp
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2022-03-09 21:26:01 +0100
committerSona Kurazyan <sona.kurazyan@qt.io>2022-03-26 01:44:05 +0100
commitb6251958932be5966258f362dc9bb7c7475d2d0a (patch)
tree2b2dc46c0d097fca15bcc9e2701682919921c339 /src/corelib/plugin/qlibrary_unix.cpp
parent73a03a0c298461aa15d7c2757bc0b6444e5dc3dc (diff)
QtCore: Replace remaining uses of QLatin1String with QLatin1StringView
Task-number: QTBUG-98434 Change-Id: Ib7c5fc0aaca6ef33b93c7486e99502c555bf20bc Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/plugin/qlibrary_unix.cpp')
-rw-r--r--src/corelib/plugin/qlibrary_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary_unix.cpp b/src/corelib/plugin/qlibrary_unix.cpp
index 1fcc22c8cc..4505aedfe1 100644
--- a/src/corelib/plugin/qlibrary_unix.cpp
+++ b/src/corelib/plugin/qlibrary_unix.cpp
@@ -299,7 +299,7 @@ bool QLibraryPrivate::unload_sys()
if (!qstrcmp(error, "Shared objects still referenced")) // On QNX that's only "informative"
return true;
errorString = QLibrary::tr("Cannot unload library %1: %2").arg(fileName,
- QLatin1String(error));
+ QLatin1StringView(error));
#else
errorString = QLibrary::tr("Cannot unload library %1: %2").arg(fileName, qdlerror());
#endif