From: Peter Penz Date: Sun, 7 Dec 2008 12:53:36 +0000 (+0000) Subject: during drag operations no rubberband selection can be active X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/35f762cf28dc7c270626ba3b95f3123e99a37616 during drag operations no rubberband selection can be active svn path=/trunk/KDE/kdebase/apps/; revision=893762 --- diff --git a/src/dolphinviewautoscroller.cpp b/src/dolphinviewautoscroller.cpp index ce10f92cd..c905bb784 100644 --- a/src/dolphinviewautoscroller.cpp +++ b/src/dolphinviewautoscroller.cpp @@ -47,6 +47,7 @@ DolphinViewAutoScroller::~DolphinViewAutoScroller() { } +#include bool DolphinViewAutoScroller::eventFilter(QObject* watched, QEvent* event) { if (watched == m_itemView->viewport()) { @@ -68,10 +69,12 @@ bool DolphinViewAutoScroller::eventFilter(QObject* watched, QEvent* event) case QEvent::DragEnter: case QEvent::DragMove: + m_rubberBandSelection = false; triggerAutoScroll(); break; case QEvent::DragLeave: + m_rubberBandSelection = false; stopAutoScroll(); break;