summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/cylinder-cpp/main.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-05-01 14:47:28 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-05-03 10:20:49 +0000
commita7cd21c42d70415fc6aded1f5ff32633ef42cb0c (patch)
tree744348afe2857a146f04ab53815ef3d81b2fb2ad /examples/qt3d/cylinder-cpp/main.cpp
parent03d62618692f93dfc1aa53e7e2245177432c2604 (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