aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlobjectmodel
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-06-07 11:37:49 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-06-10 04:26:03 +0000
commitf12c07216e25f9a326000e45583b9d5216945ee7 (patch)
treea3c4defb16ff3a5ec2fda6f308f8de08a7ec9e1c /tests/auto/qml/qqmlobjectmodel
parent1e1a76b88192713bbdfd3b81f7310d496a644e9c (diff)
Add an assert and simplify the code
QV4::QObjectWrapper::wrap will unconditionally dereference the engine. So simply assert that there is an engine. Fixes Coverity CID 10631. Change-Id: Ia645e32813b351abce1df06cfb63ef8ef956b9a6 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto/qml/qqmlobjectmodel')
0 files changed, 0 insertions, 0 deletions