Avoid lockup in ListView when animating delegates.
authorMartin Jones <martin.jones@nokia.com>
Wed, 24 Nov 2010 01:25:07 +0000 (11:25 +1000)
committerMartin Jones <martin.jones@nokia.com>
Wed, 24 Nov 2010 01:32:12 +0000 (11:32 +1000)
commitd32360bb33e830f8c17a6db1a31f529436c2915e
tree1cab53106f9fb075c814248c5a588af237c2716f
parent5d0be38c15acf28969bd8bf984ab23a29fa8e354
Avoid lockup in ListView when animating delegates.

Animating delegates results in the content height changing, which
may result in fixup being called if at the ends of the view, which
may in turn cause refill to be called, which will change the content
height, which repeats.  Prevent this recusion from happening.

Task-number: QTBUG-14821
Reviewed-by: Bea Lam
src/declarative/graphicsitems/qdeclarativelistview.cpp
tests/auto/declarative/qdeclarativelistview/data/qtbug14821.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp