]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/global.cpp
Exclude daemonized processes from Dolphin::attachToExistingInstance()
[dolphin.git] / src / global.cpp
index 9aff25b26d6fc36ea984ff508ac4e23c87473b4a..34ed4e824b971cd0a4177b4788bddd893f06b20e 100644 (file)
@@ -82,7 +82,7 @@ bool Dolphin::attachToExistingInstance(const QList<QUrl>& inputUrls, bool openFi
         QSharedPointer<QDBusInterface> preferredInterface(
             new QDBusInterface(preferredService,
             QStringLiteral("/dolphin/Dolphin_1"),
-            QString()) // #414402: use empty interface name to prevent QtDBus from caching the interface.
+            QStringLiteral("org.kde.dolphin.MainWindow"))
         );
         if (preferredInterface->isValid() && !preferredInterface->lastError().isValid()) {
             dolphinInterfaces.append(qMakePair(preferredInterface, QStringList()));