From 579a1ea6be19e036eed37825b52e651aac3f8f47 Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Tue, 18 Dec 2007 20:53:49 +0000 Subject: Revert the whole code regarding the discussed issue. Columns view still show the "forbidden" cursor, so nothing is fixed while reverted. The drop-indicator is shown on files too... so something needs a fix here. Shouldn't be hard anyway CCMAIL: peter.penz@gmx.at CCMAIL: faure@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=750168 --- src/dolphindetailsview.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/dolphindetailsview.cpp') 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) -- cgit v1.3