]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Hide the "drop" indicator when an item is not hovered any more
authorFrank Reininghaus <frank78ac@googlemail.com>
Thu, 20 Jun 2013 17:29:10 +0000 (19:29 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Thu, 20 Jun 2013 17:29:10 +0000 (19:29 +0200)
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

index c8c0fc5f1ba3ddd4fec2982ae82a2013aad0cca3..4629b29f1b3a13f30e1a1ef731a786a0b6a73607 100644 (file)
@@ -869,6 +869,8 @@ bool KItemListController::dragMoveEvent(QGraphicsSceneDragDropEvent* event, cons
                 emit itemUnhovered(index);
             }
         }
+    } else {
+        m_view->hideDropIndicator();
     }
 
     return false;