Skip to content
Snippets Groups Projects
Commit c7963126 authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann
Browse files

QmlDesigner.NodeInstances: Objects are not deleted by the JavaScript

anymore
parent db4949d3
No related branches found
No related tags found
No related merge requests found
...@@ -760,6 +760,8 @@ QObject *ObjectNodeInstance::createInstance(const NodeMetaInfo &metaInfo, QDecla ...@@ -760,6 +760,8 @@ QObject *ObjectNodeInstance::createInstance(const NodeMetaInfo &metaInfo, QDecla
QDeclarativeEngine::setContextForObject(object, context); QDeclarativeEngine::setContextForObject(object, context);
} }
QDeclarativeEngine::setObjectOwnership(object, QDeclarativeEngine::CppOwnership);
return object; return object;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment