From 93ce7f40e2d067eba48b317ef4028c2c75eebebd Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 17 Jul 2009 18:33:37 +0000 Subject: When pressing a key after entering a directory, QAbstractItemView::scrollTo() must be invoked to have autoscroll behavior. BUG: 199833 svn path=/trunk/KDE/kdebase/apps/; revision=998474 --- src/dolphinviewautoscroller.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dolphinviewautoscroller.h') diff --git a/src/dolphinviewautoscroller.h b/src/dolphinviewautoscroller.h index c95155f58..a858d27cb 100644 --- a/src/dolphinviewautoscroller.h +++ b/src/dolphinviewautoscroller.h @@ -66,6 +66,7 @@ private: private: bool m_rubberBandSelection; + bool m_keyPressed; int m_horizontalScrollInc; int m_verticalScrollInc; QAbstractItemView* m_itemView; -- cgit v1.3