┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/global.cpp
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-09-08 09:33:41 +0200
committerLaurent Montel <[email protected]>2019-09-08 09:33:41 +0200
commit81065795b78e06ec679ec0589fba7082e777ef2a (patch)
tree67acbba969c750a69734326179815474be25f42b /src/global.cpp
parentdfe713edf0c3b0b44ff18c19ebd4d616a9004f48 (diff)
GIT_SILENT: minor qstring optimization
Diffstat (limited to 'src/global.cpp')
-rw-r--r--src/global.cpp2
1 files changed, 1 insertions, 1 deletions
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<QUrl>& 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