┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dbusinterface.cpp
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2017-03-08 16:52:15 +0100
committerKai Uwe Broulik <[email protected]>2017-03-08 16:52:15 +0100
commitb79ea9f5e4a83e4cc877235a6aa62f666bee0289 (patch)
tree5a7fbc123ab92d25923392607b8c8cf64edf196d /src/dbusinterface.cpp
parent6dcbb8127c5a1da644f2927521ccac40bea54614 (diff)
Pass application name and icon to KRun
Otherwise this results in the generic executable icon as bouncy cursor. Differential Revision: https://phabricator.kde.org/D4823
Diffstat (limited to 'src/dbusinterface.cpp')
-rw-r--r--src/dbusinterface.cpp4
1 files changed, 2 insertions, 2 deletions
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)