Fix item positioning with multiple removes before the visible area.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Thu, 12 Jul 2012 03:15:41 +0000 (13:15 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jul 2012 11:17:12 +0000 (13:17 +0200)
commit04fc2234562507a071e214635e6fe7dc63eda95b
tree1e21da977ecf3e8503c1a512f30f879b3f0450be
parentd83eb21fb296b73bd111d907dfb9ecde373b9bb3
Fix item positioning with multiple removes before the visible area.

The index of the previous first visible item needs to be adjusted
when items are removed before it in order to comparable against
later changes.

Change-Id: I3c72abb4dfc9c2ccc9b299dda186ecdc3994a735
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/items/qquickitemview.cpp