summaryrefslogtreecommitdiffstats
path: root/src/core/aspects/qaspectengine_p.h
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2019-08-14 11:50:10 +0100
committerPaul Lemire <paul.lemire@kdab.com>2019-08-29 08:32:29 +0200
commitc1b1bbbb72a9d0c11d92c8cdb998c52d515932da (patch)
treeea126554b3dde2505deb10b1a5b381fd82384b13 /src/core/aspects/qaspectengine_p.h
parentfa801839d384e9d6eea09350433e354cf753c267 (diff)
Use sync method when initializing new backend nodes
If the node type supports syncing, use that rather than the creation message. The message is still needed since that is passed to the instantiation functor (none of qt3d's classes appear to use anything but the node id, but can't be sure no other classes do, and can't add other virtual method without breaking BC). Change-Id: Id99f448070b8722a7809b968798772c9eb3c8397 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/core/aspects/qaspectengine_p.h')
-rw-r--r--src/core/aspects/qaspectengine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/aspects/qaspectengine_p.h b/src/core/aspects/qaspectengine_p.h
index 7dad2a352..3e68a2caa 100644
--- a/src/core/aspects/qaspectengine_p.h
+++ b/src/core/aspects/qaspectengine_p.h
@@ -105,6 +105,7 @@ public:
void initNodeTree(QNode *node);
void initNode(QNode *node);
void initEntity(QEntity *entity);
+ void addNode(QNode *node);
static QAspectEnginePrivate *get(QAspectEngine *engine);
};