┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-02-03 17:04:28 +0100
committerPeter Penz <[email protected]>2012-02-03 17:06:59 +0100
commit313a03d44807ba271cb4df0fc2a0752ba56aec89 (patch)
tree6182260ed11e76d3e09ef7953e9b53de0ba943e2 /src
parente20a6e59ea2313f9121f3fda5c9c5a4fa048605e (diff)
The autoscroll timer should be only a single-shot timer
Diffstat (limited to 'src')
-rw-r--r--src/kitemviews/kitemlistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kitemlistview.cpp b/src/kitemviews/kitemlistview.cpp
index d09018474..67ba01a2f 100644
--- a/src/kitemviews/kitemlistview.cpp
+++ b/src/kitemviews/kitemlistview.cpp
@@ -263,7 +263,7 @@ void KItemListView::setAutoScroll(bool enabled)
{
if (enabled && !m_autoScrollTimer) {
m_autoScrollTimer = new QTimer(this);
- m_autoScrollTimer->setSingleShot(false);
+ m_autoScrollTimer->setSingleShot(true);
connect(m_autoScrollTimer, SIGNAL(timeout()), this, SLOT(triggerAutoScrolling()));
m_autoScrollTimer->start(InitialAutoScrollDelay);
} else if (!enabled && m_autoScrollTimer) {