Must update columns when GridView geometry changes
authorBea Lam <bea.lam@nokia.com>
Wed, 1 Feb 2012 06:48:03 +0000 (16:48 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 2 Feb 2012 03:56:27 +0000 (04:56 +0100)
commit67ebd7014134df8c7981b815a99cd9d749e167db
tree75af05e865545cbf5611779143853d089184aa09
parentc1e668a96764d1a252322ebae3af72097c27dfe1
Must update columns when GridView geometry changes

Regression from changes in 80d85e0017cb5cc4b0a0df6c19d4126bf5062731

Also remove shared duplicate code in visibleItemsChanged() in
ListView and GridView.

Change-Id: Ic3ab3ba070ddf9901a232ed5b3250c725797cf69
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickgridview.cpp
src/quick/items/qquickgridview_p.h
src/quick/items/qquickitemview.cpp
src/quick/items/qquickitemview_p_p.h
src/quick/items/qquicklistview.cpp
tests/auto/qtquick2/qquickgridview/data/resizeview.qml
tests/auto/qtquick2/qquickgridview/tst_qquickgridview.cpp