diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-04-10 09:55:03 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-04-12 12:46:04 +0000 |
commit | c822a614a7f42582476f614a91cc5b08bb712ab7 (patch) | |
tree | bd46d87a6cb5a38821f9a4b5b2253dd783ecfe65 /src/core/nodes/qnode_p.h | |
parent | 4d2aec2bc26db1d680268a0ee62d465df2fee13d (diff) |
Add temporary flag to allow QNode to avoid cloning
Change-Id: I13435b356a2466daa37e5913b4889f7be233591e
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/core/nodes/qnode_p.h')
-rw-r--r-- | src/core/nodes/qnode_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/nodes/qnode_p.h b/src/core/nodes/qnode_p.h index d8aa7e98f..17c38ba53 100644 --- a/src/core/nodes/qnode_p.h +++ b/src/core/nodes/qnode_p.h @@ -112,6 +112,9 @@ private: PropertyChangeHandler<QNodePrivate> m_signals; static QHash<QNodeId, QNode *> m_clonesLookupTable; + + // Temporary flag so QNode know's whether to use cloning or not + static const bool ms_useCloning; }; } // namespace Qt3DCore |