Fix layout issues with recently removed items.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 10 Oct 2011 00:37:31 +0000 (10:37 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Oct 2011 04:44:05 +0000 (06:44 +0200)
commita00e70ef2cc7e4c265862d82976fc871035f3416
tree35d6873b371a6bdd878de3899232b6f15c250904
parent60d07fc96b60a709396bf983dc79e84f786c1ad0
Fix layout issues with recently removed items.

Items removed from the source model aren't removed from the cache
group until they've also been released by the view.  Skip over
these removed items when translating future changes to the source
model so no invalid translated changes are created.

Change-Id: I9bf3801135e78b5a6493b4ef50ce44ee5c912bfc
Reviewed-on: http://codereview.qt-project.org/6298
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/util/qdeclarativelistcompositor.cpp
tests/auto/declarative/qdeclarativelistcompositor/tst_qdeclarativelistcompositor.cpp