Allow objects created in QML with incubateObject to be destroyed.
authorMichael Brasser <michael.brasser@nokia.com>
Tue, 3 Apr 2012 01:50:05 +0000 (11:50 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Apr 2012 05:50:17 +0000 (07:50 +0200)
commit817c0741d1d3e1dc1c505652ba764fe96b584aac
treefbd1519ae832cd6406525a8bfe624a37f426a012
parentb3264e2cb6a8fe87754aa1335ab9f8d5e3910c14
Allow objects created in QML with incubateObject to be destroyed.

Change-Id: I8a0678ea8dff6f4a40ac367395a99dd025f7f08a
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/qml/qml/qqmlcomponent.cpp
tests/auto/qml/qqmlecmascript/data/ownershipQmlIncubated.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp