Fix setContextObject to re-evaluate bindings
authorAlex Montgomery <apmontgomery@gmail.com>
Fri, 15 Aug 2014 16:41:56 +0000 (09:41 -0700)
committerAlex Montgomery <apmontgo@codereview.qt-project.org>
Fri, 15 Aug 2014 16:48:33 +0000 (18:48 +0200)
commit672c533bde2899baad3eb29b6a807870abb8bf25
tree8e8838f7c5ecd807cfb666f1dd13bf363ef3ae88
parent63f0c196eecb88804f8bbe410a38d0274955f994
Fix setContextObject to re-evaluate bindings

Fix QQmlContext::setContextObject to reevaluate bindings as the
documentation says that it should.

Task-number: QTBUG-40798
Change-Id: Ifbd97c7a07a5432f4948937da863370b05705206
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/qqmlcontext.cpp
tests/auto/qml/qqmlcontext/tst_qqmlcontext.cpp