diff options
| author | Rafael Fernández López <[email protected]> | 2007-12-18 21:04:26 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-12-18 21:04:26 +0000 |
| commit | 665ca266e9a6cedb1a014b730e64c91f3c57e11d (patch) | |
| tree | e85da969972d86896e43731a002e2e8384e5fce6 /src/dolphiniconsview.cpp | |
| parent | 579a1ea6be19e036eed37825b52e651aac3f8f47 (diff) | |
So I guess that is the behaviour that we really want :)
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=750173
Diffstat (limited to 'src/dolphiniconsview.cpp')
| -rw-r--r-- | src/dolphiniconsview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 05b8ed9cc..de0aaec97 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -227,8 +227,10 @@ void DolphinIconsView::dragMoveEvent(QDragMoveEvent* event) m_dropRect.setSize(QSize()); // set as invalid if (index.isValid()) { const KFileItem item = itemForIndex(index); - if (!item.isNull()) { + if (!item.isNull() && item.isDir()) { m_dropRect = visualRect(index); + } else { + m_dropRect.setSize(QSize()); // set as invalid } } if (event->mimeData()->hasUrls()) { |
