Allow the existence of a VME metaobject to be asserted
authorMatthew Vogt <matthew.vogt@nokia.com>
Tue, 15 May 2012 06:56:40 +0000 (16:56 +1000)
committerQt by Nokia <qt-info@nokia.com>
Sun, 20 May 2012 22:17:37 +0000 (00:17 +0200)
commita96705e349c51215b6e451147b4c2de49ba5a107
tree67898969e15f92e95ccfc97a3ce8c4458a8887e7
parent5821f91abb348ac8d8ad84846b504c5629d2eed8
Allow the existence of a VME metaobject to be asserted

Test for the existence of a VME metaobject.  Otherwise, assertion of
a static cast result is not meaningful.

Change-Id: Ic9e9c38e5dce65c41d20e405c33e179334c37b00
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/qml/debugger/qqmlenginedebugservice.cpp
src/qml/qml/qqmldata_p.h
src/qml/qml/qqmlproperty.cpp
src/qml/qml/qqmlvme.cpp
src/qml/qml/qqmlvmemetaobject.cpp
src/qml/qml/qqmlvmemetaobject_p.h
src/qml/qml/v4/qv4bindings.cpp
src/qml/qml/v8/qv8qobjectwrapper.cpp
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp