diff options
| author | Peter Penz <[email protected]> | 2008-12-13 15:39:09 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-12-13 15:39:09 +0000 |
| commit | 7fbc814147ed8d1e5f0b1677fc8808c3c2b6c22c (patch) | |
| tree | 5b5d776e1b26e48b8842c6d615a60343b73354d7 /src/dolphinviewautoscroller.cpp | |
| parent | c91c770ef1a60e7966048ece0ebfe861c8b288d1 (diff) | |
only jump automatically to the current index, if the autoscrolling is not active
svn path=/trunk/KDE/kdebase/apps/; revision=896481
Diffstat (limited to 'src/dolphinviewautoscroller.cpp')
| -rw-r--r-- | src/dolphinviewautoscroller.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphinviewautoscroller.cpp b/src/dolphinviewautoscroller.cpp index 767a5b458..2a57cc157 100644 --- a/src/dolphinviewautoscroller.cpp +++ b/src/dolphinviewautoscroller.cpp @@ -48,6 +48,11 @@ DolphinViewAutoScroller::~DolphinViewAutoScroller() { } +bool DolphinViewAutoScroller::isActive() const +{ + return m_timer->isActive(); +} + bool DolphinViewAutoScroller::eventFilter(QObject* watched, QEvent* event) { if (watched == m_itemView->viewport()) { |
