cacheBuffer makes delegates appear briefly in wrong position
authorMartin Jones <martin.jones@nokia.com>
Mon, 20 Feb 2012 03:59:41 +0000 (13:59 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 21 Feb 2012 00:21:57 +0000 (01:21 +0100)
commitb01aec8e81a5839ee520ed4e6e4fedf1d2ec419a
tree9224d19f4d9b1ce5a95b37869cdddee68b6609fc
parent2954685be016123aac8100f398150a9f8cf01a92
cacheBuffer makes delegates appear briefly in wrong position

Set delegates that are created asynchronously to non-visible.  This
would have happened the next time addVisibleItems() was called.

Task-number: QTBUG-24364
Change-Id: I4b628bef186c8c41bd6a4d9e4ac402d59bcb4972
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/items/qquickitemview.cpp
tests/auto/qtquick2/qquicklistview/tst_qquicklistview.cpp