Commit f5d0d98a authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Use setParentItem for children property

Sets a internal flag in the QGraphicsItem to use setParentItem and not
setParentItemHelper for the children property list in QGraphicsObect.

Reviewed-By: Thomas Hartmann
parent 18697127
......@@ -320,6 +320,7 @@ void QmlGraphicsItemNodeInstance::doComponentComplete()
if (static_cast<QDeclarativeItemPrivate*>(QGraphicsItemPrivate::get(qmlGraphicsItem()))->componentComplete)
return;
static_cast<QDeclarativeParserStatus*>(qmlGraphicsItem())->componentComplete();
QGraphicsItemPrivate::get(qmlGraphicsItem())->sendParentChangeNotification = 1;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment