From 51f2bdaeab44dc551b4bb39e290f284f3d55e0c9 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Thu, 20 Jun 2013 19:29:10 +0200 Subject: [PATCH] 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 --- src/kitemviews/kitemlistcontroller.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.47.3