aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2011-07-29 16:04:26 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-06 10:44:27 +0200
commitab989615c05bbf15ef7f5b91d3daaf2423a490ea (patch)
tree93a5814dd4b62acacd772aad6fb23656c345138b /tools
parent6e7ea2fc3823cb13a366845efe32050b9adefffb (diff)
Fix QJSEngine::newQObject ownership behaviour
Ensure the indestructible flag is set to false for objects wrapped through QJSEngine::newQObject, to ensure that they get deleted upon gc when they don't have a parent. Re-enabled the QJSEngine::garbageCollect and ownership auto-tests that verified this behaviour. Change-Id: I181bff0cc44d071d650a2f73494e49cce6ad538e Reviewed-on: http://codereview.qt-project.org/2398 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions