Manually apply SnapOneItem/Row changes from Qt 4.7
authorMartin Jones <martin.jones@nokia.com>
Mon, 26 Sep 2011 03:13:02 +0000 (13:13 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 27 Sep 2011 23:12:34 +0000 (01:12 +0200)
commit40864ee84e41d53c412dd1b350624dcde07b009a
treefbdf72cd3e01a408e54f025bd2a8d5fe375ec905
parent6c0215a523b1294015e238018dc34cf56a46024c
Manually apply SnapOneItem/Row changes from Qt 4.7

Apply following changes to Qt 5 for both QtQuick1 and QtQuick2 items:
cf23188de237009136fa1480ab8fd9e3ca364769
f85819fe083ae7c6804c884de68e906d153a6d11
09cd2f818208a83489fae034b80e6497b7cc83af

Task-number: QTBUG-20683
Change-Id: I974764e57e3004514bb4c9f46c5152ad07c136a7
Reviewed-on: http://codereview.qt-project.org/5484
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/declarative/items/qsgflickable.cpp
src/declarative/items/qsgflickable_p_p.h
src/declarative/items/qsggridview.cpp
src/declarative/items/qsglistview.cpp
src/qtquick1/graphicsitems/qdeclarativeflickable.cpp
src/qtquick1/graphicsitems/qdeclarativeflickable_p_p.h
src/qtquick1/graphicsitems/qdeclarativegridview.cpp
src/qtquick1/graphicsitems/qdeclarativelistview.cpp
tests/auto/qtquick1/qdeclarativegridview/tst_qdeclarativegridview.cpp