Improve programmatic flicking of ListView (and Flickable).
authorMichael Brasser <michael.brasser@live.com>
Thu, 24 Jul 2014 00:39:26 +0000 (19:39 -0500)
committerMichael Brasser <michael.brasser@live.com>
Thu, 24 Jul 2014 13:40:09 +0000 (15:40 +0200)
commit2c80968d21ff15f574cbbfd93ce4409cda7eeebf
treee3c0ee8a353b65e4a8a796c2d310df4866f79c28
parent36a179e8faa572544b9e8a9442f8c679a9509423
Improve programmatic flicking of ListView (and Flickable).

Fix bug when programmatically flicking ListView after a real flick in the
opposite direction. Also ensure a programmatic flick can flick past
bounds when situated at the bounds and DragAndOvershootBounds is set.

Task-number: QTBUG-38209
Change-Id: If4a2f65d0e7cb620b9af21f8a25a8a8797976125
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
src/quick/items/qquickflickable.cpp
tests/auto/quick/qquicklistview/data/simplelistview.qml [new file with mode: 0644]
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp