Fix regression with meta object revision checking
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 3 Jun 2013 14:29:16 +0000 (16:29 +0200)
committerLars Knoll <lars.knoll@digia.com>
Mon, 3 Jun 2013 18:39:04 +0000 (20:39 +0200)
commit94946e6fb412a34f1d0bd3bb550a8ff195976ee6
tree3644287597da1bb0a246552c8fee82b34f01ac6b
parenta336ca4cc35fdcabedf4ff2614cc6d6625e7d4ef
Fix regression with meta object revision checking

Commit 00a07bcbd7a592072822b0e55ab2e75e90c3f9f5 replaced the CheckRevision
parameter on the call GetProperty on the scope QObject with a get that
would do IgnoreRevision.

This adds a property getter on the QV4::QObjectWrapper that allows for checking
the meta object revision. The plan is to move all of the property getter code
from QV8QObjectWrapper into QV4::QObjectWrapper incrementally.

Change-Id: I8e5a93ce3351a8c5dba13f14cd43e4036875b792
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/qqmlcontextwrapper.cpp
src/qml/qml/qqmltypewrapper.cpp
src/qml/qml/qqmlvaluetypewrapper.cpp
src/qml/qml/v8/qv8qobjectwrapper.cpp
src/qml/qml/v8/qv8qobjectwrapper_p.h