From 81065795b78e06ec679ec0589fba7082e777ef2a Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 8 Sep 2019 09:33:41 +0200 Subject: GIT_SILENT: minor qstring optimization --- src/global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/global.cpp') diff --git a/src/global.cpp b/src/global.cpp index 12f86a2f3..48e78e9ea 100644 --- a/src/global.cpp +++ b/src/global.cpp @@ -94,7 +94,7 @@ bool Dolphin::attachToExistingInstance(const QList& inputUrls, bool openFi // Don't match the service without trailing "-" (unique instance) const QString pattern = QStringLiteral("org.kde.dolphin-"); // Don't match the pid without leading "-" - const QString myPid = QStringLiteral("-") + QString::number(QCoreApplication::applicationPid()); + const QString myPid = QLatin1Char('-') + QString::number(QCoreApplication::applicationPid()); for (const QString& service : services) { if (service.startsWith(pattern) && !service.endsWith(myPid)) { // Check if instance can handle our URLs -- cgit v1.3