aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/particles/qquickitemparticle
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2011-10-14 16:44:46 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-02 03:52:25 +0100
commit1c394490f4efe6055426257a8dfcec4cdf3e12af (patch)
tree029ccee9a19bf225dd148b347d52472f3c2f9ba8 /tests/auto/particles/qquickitemparticle
parentc177691118e4e2bace9b5c1f4f57343190e6ad64 (diff)
Fix incorrect cache indexes when consecutive list items are removed.
When cached model items are removed listItemsRemoved will try and append a new cache only range onto a preceding one where possible. Previously it would then re-run that range so the current indexes in the list were incremented before moving onto the next range, which meant that the current indexes were incremented by size of the previous range twice. Instead of processing the range a second time increment the cache indexes directly when inserting a cache only range and move directly onto the next range in the list. Change-Id: I63418c4397f911cefb521c5a5b0dd25faf66e08b Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/particles/qquickitemparticle')
0 files changed, 0 insertions, 0 deletions