┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewautoscroller.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-12-07 12:53:36 +0000
committerPeter Penz <[email protected]>2008-12-07 12:53:36 +0000
commit35f762cf28dc7c270626ba3b95f3123e99a37616 (patch)
treedc01df59442a697019959dff4dd7669e5402a195 /src/dolphinviewautoscroller.cpp
parent53bdec9b58131014dcec9d6bc7d48e1aa01be979 (diff)
during drag operations no rubberband selection can be active
svn path=/trunk/KDE/kdebase/apps/; revision=893762
Diffstat (limited to 'src/dolphinviewautoscroller.cpp')
-rw-r--r--src/dolphinviewautoscroller.cpp3
1 files changed, 3 insertions, 0 deletions
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 <kdebug.h>
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;