diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-05-01 14:47:28 +0100 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-03 10:20:49 +0000 |
commit | a7cd21c42d70415fc6aded1f5ff32633ef42cb0c (patch) | |
tree | 744348afe2857a146f04ab53815ef3d81b2fb2ad /examples/qt3d/cylinder-cpp/main.cpp | |
parent | 03d62618692f93dfc1aa53e7e2245177432c2604 (diff) |
Get metaobject directly from the QObject
If the QNode has not yet had a QNodeCreationChange generated for it
then the pointer to the QMetaObject cached in QNodePrivate will not
yet be valid. This was leading to QNodeAddedPropertyChange events being
generated with a null QMetaObject which then caused a crash in the
handler of Entity.
Change-Id: I9369a705f28b99f61cfc8aaf3fdaa7c469a04fbf
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/cylinder-cpp/main.cpp')
0 files changed, 0 insertions, 0 deletions