┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphindetailsview.cpp')
-rw-r--r--src/dolphindetailsview.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp
index f58b4cd1e..46752fc95 100644
--- a/src/dolphindetailsview.cpp
+++ b/src/dolphindetailsview.cpp
@@ -278,20 +278,6 @@ void DolphinDetailsView::dragMoveEvent(QDragMoveEvent* event)
}
setDirtyRegion(m_dropRect);
}
-
- bool destIsDir = false;
- if (index.isValid()) {
- const KFileItem item = itemForIndex(index);
- if (!item.isNull() && item.isDir()) {
- m_dropRect = visualRect(index);
- destIsDir = true;
- }
- } else { // dropping on viewport
- destIsDir = true;
- }
- if (destIsDir && event->mimeData()->hasUrls()) {
- event->acceptProposedAction();
- }
}
void DolphinDetailsView::dropEvent(QDropEvent* event)