Fix QQuickListViewPrivate::releaseItem()
authorJ-P Nurmi <jpnurmi@theqtcompany.com>
Mon, 6 Jul 2015 12:51:45 +0000 (14:51 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Fri, 10 Jul 2015 01:31:52 +0000 (01:31 +0000)
commit79aa1df7b424240ab522c5fb3a7831c71497b7e1
tree767075408a8fe1cb737b96113ca5242a198a68d9
parent33f6e267ad2fc4aeb50a5a91bc55279536608a8c
Fix QQuickListViewPrivate::releaseItem()

Fixes a regression introduced by 1e3924d. The FxViewItem gets deleted
by QQuickItemViewPrivate::releaseItem(), so the QQuickItem pointer must
be stored before calling the base class implementation.

Change-Id: I0bcffc7bee8a4cdbebdce0fe2d2b990bfa52dc6c
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/quick/items/qquicklistview.cpp