Don't ignore model changes when the ListView scroll position changes.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Wed, 11 Apr 2012 06:22:52 +0000 (16:22 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Apr 2012 06:07:16 +0000 (08:07 +0200)
commit96c0e7e576b4b9a31bf7df362e26ebbc64f726f9
tree0cae848593288b6db2c304a323aeb84671e33a80
parentf24f682c83ee08f1ceffc935def477e8a649e38a
Don't ignore model changes when the ListView scroll position changes.

If there are pending changes when the ListView viewport changes then
do a full layout instead of a refill.  Likewise for GridView and when
animations finish or the cacheBuffer size changes.

Change-Id: I57a2b01fee5729381558af366dad24ba26c223ef
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/items/qquickgridview.cpp
src/quick/items/qquickitemview.cpp
src/quick/items/qquickitemview_p_p.h
src/quick/items/qquicklistview.cpp
tests/auto/quick/qquickgridview/tst_qquickgridview.cpp
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp