Fixed a QQuickListView crash
authorLiang Qi <liang.qi@theqtcompany.com>
Thu, 25 Jun 2015 15:14:40 +0000 (17:14 +0200)
committerLiang Qi <liang.qi@theqtcompany.com>
Mon, 29 Jun 2015 22:54:59 +0000 (22:54 +0000)
commit1e3924d8f585dd9099eb74ffbc17950c693d14da
tree62ae3f92f5f14760b2da92af577129f9eef3d3b4
parent89d66647e0b3387b7ef8fbeb1f46b2d4385c3bea
Fixed a QQuickListView crash

When an ObjectModel item is removed and destroyed.

Task-number: QTBUG-46798
Change-Id: Ia41dd359d9f3ec5b7af85498dc798f7ab55dca3c
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
src/quick/items/qquickitemview.cpp
src/quick/items/qquickitemview_p_p.h
src/quick/items/qquicklistview.cpp
tests/auto/qmltest/qtbug46798/tst_qtbug46798.qml [new file with mode: 0644]