Ensure view delegates are object parented to the contentItem
authorMartin Jones <martin.jones@nokia.com>
Thu, 6 Oct 2011 06:52:47 +0000 (16:52 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 6 Oct 2011 08:44:27 +0000 (10:44 +0200)
commit00ee5a5d34f105701f5caf75368326c8009fc020
tree12076cb476ceeb3ee0c7c6743184ef55dae00778
parentb801f90eb3679b567795416ceb821e7d2d2221ce
Ensure view delegates are object parented to the contentItem

Caused a leak which resulted in persistent v8 handles not being
disposed.

Change-Id: I5c10ff619531976ab61d9ce1ff8327c4a40cfd5e
Reviewed-on: http://codereview.qt-project.org/6112
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/declarative/items/qsgitemview.cpp