┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-06-20 19:29:10 +0200
committerFrank Reininghaus <[email protected]>2013-06-20 19:29:10 +0200
commit51f2bdaeab44dc551b4bb39e290f284f3d55e0c9 (patch)
tree591569510d929e7cd69025c4dc642bc546703b5f
parent6db55f54432937e60dd875802cc3530639c0a45d (diff)
Hide the "drop" indicator when an item is not hovered any more
This fixes the problem that the drop indicator might still be shown after the drag&drop operation in the Places Panel is finished. REVIEW: 111037
-rw-r--r--src/kitemviews/kitemlistcontroller.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistcontroller.cpp b/src/kitemviews/kitemlistcontroller.cpp
index c8c0fc5f1..4629b29f1 100644
--- a/src/kitemviews/kitemlistcontroller.cpp
+++ b/src/kitemviews/kitemlistcontroller.cpp
@@ -869,6 +869,8 @@ bool KItemListController::dragMoveEvent(QGraphicsSceneDragDropEvent* event, cons
emit itemUnhovered(index);
}
}
+ } else {
+ m_view->hideDropIndicator();
}
return false;