Fix jump and property changes on first move when dragging a Flickable.
authorAndrew den Exter <andrew.den.exter@jollamobile.com>
Tue, 12 Mar 2013 06:04:54 +0000 (16:04 +1000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 11 May 2013 02:05:46 +0000 (04:05 +0200)
commit7b18c792d0575901d403e475472b9632280f54e7
tree256505072f32ac26670827c2ee36fd1b07ccc805
parentccd1b2ee01c193cd157978c1f9f08f87d0f9c94b
Fix jump and property changes on first move when dragging a Flickable.

Fixes a regression whereby on the first mouse move the contentItem was
moved the total distance from the touch point to where the drag
distance was exceeded. For large drag thresholds this causes a
noticeable jump.

Task-number: QTBUG-30032

(cherry picked from qtquick1 3a80424aeae19e838be03aa12a5243911ec3f020)

Change-Id: I92c119d27dc2e22203484f9ada5978697d171957
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
src/declarative/graphicsitems/qdeclarativeflickable.cpp
tests/auto/declarative/qdeclarativeflickable/tst_qdeclarativeflickable.cpp
tests/auto/declarative/qdeclarativemousearea/tst_qdeclarativemousearea.cpp