]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphindetailsview.cpp
we've to use Qt's names for keys.
[dolphin.git] / src / dolphindetailsview.cpp
index 46752fc95a39870bac6a84256d8cded1678ee1dc..886f3f9a66637a69b338e58793e08c5d91039302 100644 (file)
@@ -278,6 +278,11 @@ void DolphinDetailsView::dragMoveEvent(QDragMoveEvent* event)
         }
         setDirtyRegion(m_dropRect);
     }
+
+    if (event->mimeData()->hasUrls()) {
+        // accept url drops, independently from the destination item
+        event->acceptProposedAction();
+    }
 }
 
 void DolphinDetailsView::dropEvent(QDropEvent* event)