diff options
| author | Raphael Kubo da Costa <[email protected]> | 2011-05-01 23:42:55 -0300 |
|---|---|---|
| committer | Raphael Kubo da Costa <[email protected]> | 2011-05-01 23:44:58 -0300 |
| commit | 38bf44192240f2bf0415fd5604b2bb0a4de6d536 (patch) | |
| tree | 2b9dbc20ae78ce3417b1dc7c507b7ef433cdf958 /src/views/draganddrophelper.cpp | |
| parent | 7772f6f804eacf914b4c7163a5acb01a2b443f62 (diff) | |
Use pathOrUrl() instead of path() for application/x-kde-dndextract.
This makes it possible to extract to remote locations or, say, trash:/
when everything is properly set up in Ark's side.
CCMAIL: [email protected]
(cherry picked from commit 5307f8ee2457387361e85517df38979bceeafb2a)
Diffstat (limited to 'src/views/draganddrophelper.cpp')
| -rw-r--r-- | src/views/draganddrophelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/draganddrophelper.cpp b/src/views/draganddrophelper.cpp index f7508e094..bc1361b9a 100644 --- a/src/views/draganddrophelper.cpp +++ b/src/views/draganddrophelper.cpp @@ -99,7 +99,7 @@ void DragAndDropHelper::dropUrls(const KFileItem& destItem, QString remoteDBusClient = mimeData->data("application/x-kde-dndextract"); QDBusMessage message = QDBusMessage::createMethodCall(remoteDBusClient, "/DndExtract", "org.kde.DndExtract", "extractSelectedFilesTo"); - message.setArguments(QVariantList() << destination.path()); + message.setArguments(QVariantList() << destination.pathOrUrl()); QDBusConnection::sessionBus().call(message); } else { const KUrl::List urls = KUrl::List::fromMimeData(event->mimeData()); |
