]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/global.cpp
Add Reset Zoom Level action inside View menu
[dolphin.git] / src / global.cpp
index 12f86a2f369ace55f2dc082acdee69a09f6e479c..48e78e9eadec06eec42fd9daea27617c09df2652 100644 (file)
@@ -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