Ensure the this object is set correctly to the scope object in binding expressions
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 4 Nov 2013 01:48:16 +0000 (02:48 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 5 Nov 2013 22:47:27 +0000 (23:47 +0100)
commit3a61da32e485621c9afbd453d22cbe1f6c25479e
tree7c7b145758c0370b23b0287f33d1124ae1d49660
parent22b83ec28a7dfebe9d47ff5c98fddfdb492e4304
Ensure the this object is set correctly to the scope object in binding expressions

This is a regression from 5.1

Change-Id: I61ad372a02d937c195dad74bd9fcb8fd4410d97a
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/jsruntime/qv4qobjectwrapper.cpp
src/qml/qml/qqmlbinding.cpp
src/qml/qml/qqmlbinding_p.h
src/qml/qml/qqmljavascriptexpression.cpp
src/qml/qml/qqmljavascriptexpression_p.h
src/qml/qml/qqmlvaluetypewrapper.cpp
tests/auto/qml/qqmlecmascript/data/thisObject.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp