From a79ddf8dd380d115450c0d2f8a972920682eeb0c Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sat, 24 Aug 2019 09:07:32 +0200 Subject: String code optimization: use QLatin1String/QChar overload for string concat GIT_SILENT --- src/kconf_update/kconf_update.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kconf_update/kconf_update.cpp') diff --git a/src/kconf_update/kconf_update.cpp b/src/kconf_update/kconf_update.cpp index f6c7653d..09537e2f 100644 --- a/src/kconf_update/kconf_update.cpp +++ b/src/kconf_update/kconf_update.cpp @@ -751,7 +751,7 @@ void KonfUpdate::gotScript(const QString &_script) return; } - QString path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kconf_update/") + script); + QString path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QLatin1String("kconf_update/") + script); if (path.isEmpty()) { if (interpreter.isEmpty()) { path = CMAKE_INSTALL_PREFIX "/" LIB_INSTALL_DIR "/kconf_update_bin/" + script; -- cgit v1.2.1