X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/6bda60f1dd2708996d260c7d867f227e032f9185..dedb612764cfa747ff3ff339323c15cd1fea6925:/src/dbusinterface.cpp diff --git a/src/dbusinterface.cpp b/src/dbusinterface.cpp index 124761ea0..37270b787 100644 --- a/src/dbusinterface.cpp +++ b/src/dbusinterface.cpp @@ -41,7 +41,7 @@ void DBusInterface::ShowFolders(const QStringList& uriList, const QString& start if (urls.isEmpty()) { return; } - KRun::run(QStringLiteral("dolphin %U"), urls, nullptr); + Dolphin::openNewWindow(urls); } void DBusInterface::ShowItems(const QStringList& uriList, const QString& startUpId) @@ -51,7 +51,7 @@ void DBusInterface::ShowItems(const QStringList& uriList, const QString& startUp if (urls.isEmpty()) { return; } - KRun::run(QStringLiteral("dolphin --select %U"), urls, nullptr); + Dolphin::openNewWindow(urls, nullptr, Dolphin::OpenNewWindowFlag::Select); } void DBusInterface::ShowItemProperties(const QStringList& uriList, const QString& startUpId)