diff options
| author | Peter Penz <[email protected]> | 2010-11-26 18:51:04 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-11-26 18:51:04 +0000 |
| commit | 55a9aa18d2ddd2688eeb59d962ed60067bbd9f6c (patch) | |
| tree | 499f929a204d2419808e64be54d6ce65852f1c5f /src/views/dolphindetailsview.cpp | |
| parent | c520572f5d15a3c3bf83956eb1a19316a6b2952b (diff) | |
DragAndDropHelper::isMimeTypeSupported() returns always true in the meantime - remove it
svn path=/trunk/KDE/kdebase/apps/; revision=1201101
Diffstat (limited to 'src/views/dolphindetailsview.cpp')
| -rw-r--r-- | src/views/dolphindetailsview.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/views/dolphindetailsview.cpp b/src/views/dolphindetailsview.cpp index 64f964aa8..dcde4b496 100644 --- a/src/views/dolphindetailsview.cpp +++ b/src/views/dolphindetailsview.cpp @@ -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) |
