From 074acd8009765f5e6ad5cb7f1887d50f4aea5a58 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 20 Aug 2011 13:52:36 +0200 Subject: Fix possible endless recursion when using the rubberband If the autoscrolling has been activated when using the rubberband, it was possible that an endless recursion occured as the autoscrolling triggered a change of the rubberband which triggered a change of the autoscrolling etc. --- src/kitemviews/kitemlistrubberband.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/kitemviews/kitemlistrubberband.cpp') diff --git a/src/kitemviews/kitemlistrubberband.cpp b/src/kitemviews/kitemlistrubberband.cpp index b8605a7a1..c1f276cdf 100644 --- a/src/kitemviews/kitemlistrubberband.cpp +++ b/src/kitemviews/kitemlistrubberband.cpp @@ -64,11 +64,6 @@ void KItemListRubberBand::setActive(bool active) if (m_active != active) { m_active = active; emit activationChanged(active); - - if (!active) { - m_startPos = QPointF(); - m_endPos = QPointF(); - } } } -- cgit v1.3.1