diff options
| author | Kai Uwe Broulik <[email protected]> | 2016-07-01 11:36:10 +0200 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2016-07-01 11:36:10 +0200 |
| commit | 6bda60f1dd2708996d260c7d867f227e032f9185 (patch) | |
| tree | e7bbdfb70ba4341607f3d08a271c9e77642cc543 /src | |
| parent | 98d77cb96a35abc74d83c8fca3d0dc1d5a76c2f9 (diff) | |
[DBusInterface] Use %U instead of %u to indicate multiple URLs are supported
Otherwise KRun opens a separate instance for every URL passed although Dolphin
already has logic to open different folders in tabs if neccessary.
REVIEW: 128306
Diffstat (limited to 'src')
| -rw-r--r-- | src/dbusinterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbusinterface.cpp b/src/dbusinterface.cpp index f9f1a6b22..124761ea0 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); + KRun::run(QStringLiteral("dolphin %U"), urls, nullptr); } 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); + KRun::run(QStringLiteral("dolphin --select %U"), urls, nullptr); } void DBusInterface::ShowItemProperties(const QStringList& uriList, const QString& startUpId) |
