]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphindetailsview.cpp
DragAndDropHelper::isMimeTypeSupported() returns always true in the meantime - remove it
[dolphin.git] / src / views / dolphindetailsview.cpp
index 64f964aa862e1df2a3ca6fa367b6a415c566e4e6..dcde4b49676a631a99d229f6498f8237433a4cc5 100644 (file)
@@ -225,20 +225,14 @@ void DolphinDetailsView::startDrag(Qt::DropActions supportedActions)
 
 void DolphinDetailsView::dragEnterEvent(QDragEnterEvent* event)
 {
-    if (DragAndDropHelper::instance().isMimeDataSupported(event->mimeData())) {
-        event->acceptProposedAction();
-    }
+    event->acceptProposedAction();
     DolphinTreeView::dragEnterEvent(event);
 }
 
 void DolphinDetailsView::dragMoveEvent(QDragMoveEvent* event)
 {
     DolphinTreeView::dragMoveEvent(event);
-
-    if (DragAndDropHelper::instance().isMimeDataSupported(event->mimeData())) {
-        // Accept URL drops, independently from the destination item
-        event->acceptProposedAction();
-    }
+    event->acceptProposedAction();
 }
 
 void DolphinDetailsView::dropEvent(QDropEvent* event)