┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistcontroller.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2017-06-11 19:33:36 +0200
committerElvis Angelaccio <[email protected]>2017-06-11 19:33:36 +0200
commit96eff55e75bfd0f1e3f866b4af14f3778e9002b3 (patch)
tree22fe4883d7925aa7c919a6364a0d84ee78aea1e4 /src/kitemviews/kitemlistcontroller.cpp
parenta2f9e005a5e281b5c4938e86b4a5a85ede63c4b9 (diff)
parentec9f4ed17c9c71078eac838060024aef5ca8b2c3 (diff)
Merge branch 'Applications/17.04'
* Applications/17.04: Change in "Open in new tab" feature in Dolphin Ignore drops-onto-items from invalid places items Revert "Increase smooth scrolling animation duration from 100 to 300 ms and set easing curve to InOutQuart"
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.cpp')
-rw-r--r--src/kitemviews/kitemlistcontroller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kitemlistcontroller.cpp b/src/kitemviews/kitemlistcontroller.cpp
index a95969771..3731895d0 100644
--- a/src/kitemviews/kitemlistcontroller.cpp
+++ b/src/kitemviews/kitemlistcontroller.cpp
@@ -928,7 +928,7 @@ bool KItemListController::dropEvent(QGraphicsSceneDragDropEvent* event, const QT
// Something has been dropped between two items.
m_view->hideDropIndicator();
emit aboveItemDropEvent(dropAboveIndex, event);
- } else {
+ } else if (!event->mimeData()->hasFormat(m_model->blacklistItemDropEventMimeType())) {
// Something has been dropped on an item or on an empty part of the view.
emit itemDropEvent(m_view->itemAt(pos), event);
}