diff options
author | Charles Yin <charles.yin@nokia.com> | 2012-04-17 16:47:33 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-17 13:36:22 +0200 |
commit | f92c3aecd08eef468f9a47f2e970f22beecc8216 (patch) | |
tree | ac87f59b2c2564669b437f3b5cd035cb1c7fda86 /tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp | |
parent | 812997036a44733c3407d925f42d98c4ff0e6c6f (diff) |
Set rootItem'ownership as CppOwnerShip
rootItem should not be deleted until the QQuickCanvas itself has been deleted.
Set the rootItem's object ownership to CppOwnerShip can prevent it being destroyed
by javascript destroy() method or v8 garbage collection.
Change-Id: I7d83fec8ffcb8062d143b1b050a38368a2af800f
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Reviewed-by: J-P Nurmi <j-p.nurmi@nokia.com>
Diffstat (limited to 'tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp')
0 files changed, 0 insertions, 0 deletions