┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.cpp
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2016-06-16 15:34:44 +0200
committerDavid Faure <[email protected]>2016-06-16 15:34:44 +0200
commitf2772c4fe63944f71f797c0d34d2cdb37897a535 (patch)
tree4b4b835480551eb678435f811b55b58961030ffc /src/views/dolphinview.cpp
parent0cbc3d195b55644a31db4533613afc1a58b43704 (diff)
Fix DnD onto desktop:/ app desktop file.
We need to resolve from desktop:/ to file:/ so that DropJob can handle application .desktop files. CCBUG: 363991
Diffstat (limited to 'src/views/dolphinview.cpp')
-rw-r--r--src/views/dolphinview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index c3df3a9a8..25aad9b51 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -1031,7 +1031,7 @@ void DolphinView::slotItemDropEvent(int index, QGraphicsSceneDragDropEvent* even
destUrl = url();
} else {
// The item represents a directory or desktop-file
- destUrl = destItem.url();
+ destUrl = destItem.mostLocalUrl();
}
QDropEvent dropEvent(event->pos().toPoint(),