Do not execute overwritten bindings
authorAaron Kennedy <aaron.kennedy@nokia.com>
Wed, 4 Apr 2012 11:17:59 +0000 (12:17 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 4 Apr 2012 11:29:19 +0000 (13:29 +0200)
commit8b0831f0b09847331eb59598a09ad6865800ef01
tree18bfb930c0d1ad8ac16836f90eb9669b9d1bd954
parent03a6db7fc17355d4478da05891860df6c0eb1560
Do not execute overwritten bindings

During the construction of an object, internal bindings can be
overwritten by the initialization of objects with outer scope.

Task-number: QTBUG-23138
Change-Id: I46a187d9cdc41f4dd96d068f39788a2255b8888d
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
src/qml/qml/qqmlvme.cpp
tests/auto/qml/qqmlecmascript/data/InnerObject.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/data/OuterObject.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/data/replaceBinding.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp