From 65d3008d51a83bac99435a486f5e8c5cdb7e92c1 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 6 Dec 2009 13:05:56 +0000 Subject: Respect drag time delay from application before starting the automatic scrolling. Thanks to Christoph Feck for the initial patch! CCMAIL: christoph@maxiom.de BUG: 205664 CCBUG: 212989 svn path=/trunk/KDE/kdebase/apps/; revision=1059377 --- src/dolphinviewautoscroller.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dolphinviewautoscroller.h') diff --git a/src/dolphinviewautoscroller.h b/src/dolphinviewautoscroller.h index a858d27cb..9fd35d494 100644 --- a/src/dolphinviewautoscroller.h +++ b/src/dolphinviewautoscroller.h @@ -20,6 +20,7 @@ #ifndef DOLPHINVIEWAUTOSCROLLER_H #define DOLPHINVIEWAUTOSCROLLER_H +#include #include class QAbstractItemView; @@ -67,10 +68,12 @@ private: private: bool m_rubberBandSelection; bool m_keyPressed; + bool m_initializedTimestamp; int m_horizontalScrollInc; int m_verticalScrollInc; QAbstractItemView* m_itemView; QTimer* m_timer; + QTime m_timestamp; }; #endif -- cgit v1.3