From f2772c4fe63944f71f797c0d34d2cdb37897a535 Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 16 Jun 2016 15:34:44 +0200 Subject: 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 --- src/views/dolphinview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views/dolphinview.cpp') 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(), -- cgit v1.3