diff options
| author | Peter Penz <[email protected]> | 2011-08-20 13:52:36 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-08-20 13:54:20 +0200 |
| commit | 074acd8009765f5e6ad5cb7f1887d50f4aea5a58 (patch) | |
| tree | d182a0fc286dfe214bd33bd5b04a1d6605958685 /src/kitemviews/kitemlistrubberband.cpp | |
| parent | dbe2152912cc58f1d2bfba187175ec0e4b3e4761 (diff) | |
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.
Diffstat (limited to 'src/kitemviews/kitemlistrubberband.cpp')
| -rw-r--r-- | src/kitemviews/kitemlistrubberband.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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(); - } } } |
