diff options
| author | Rafael Fernández López <[email protected]> | 2007-12-18 20:53:49 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-12-18 20:53:49 +0000 |
| commit | 579a1ea6be19e036eed37825b52e651aac3f8f47 (patch) | |
| tree | 8a87ba245742770cec3e5490fddb964d140656c8 /src/dolphincolumnwidget.cpp | |
| parent | 0ae60ef79bd44991a68fb8b1723fd807055f0307 (diff) | |
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: [email protected]
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=750168
Diffstat (limited to 'src/dolphincolumnwidget.cpp')
| -rw-r--r-- | src/dolphincolumnwidget.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp index ab7945ea7..9a500df6b 100644 --- a/src/dolphincolumnwidget.cpp +++ b/src/dolphincolumnwidget.cpp @@ -247,20 +247,6 @@ void DolphinColumnWidget::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 DolphinColumnWidget::dropEvent(QDropEvent* event) |
