diff options
author | Lasse Holmstedt <lasse.holmstedt@nokia.com> | 2010-07-14 13:17:35 (GMT) |
---|---|---|
committer | Lasse Holmstedt <lasse.holmstedt@nokia.com> | 2010-07-16 07:27:54 (GMT) |
commit | ae39a510f86fd13d6d41bc85d4f5c243eca45eab (patch) | |
tree | dc032933565e0b9cf11f294d2fa0c1facfd2bcd4 | |
parent | 402ffa151d56a7af851d38a83bc37959c133cf94 (diff) | |
download | Qt-ae39a510f86fd13d6d41bc85d4f5c243eca45eab.zip Qt-ae39a510f86fd13d6d41bc85d4f5c243eca45eab.tar.gz Qt-ae39a510f86fd13d6d41bc85d4f5c243eca45eab.tar.bz2 |
Fixed debugger's evaluation of dynamic properties in context
Reviewed-by: Aaron Kennedy
-rw-r--r-- | src/declarative/qml/qdeclarativeenginedebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeenginedebug.cpp b/src/declarative/qml/qdeclarativeenginedebug.cpp index 001da46..008d054 100644 --- a/src/declarative/qml/qdeclarativeenginedebug.cpp +++ b/src/declarative/qml/qdeclarativeenginedebug.cpp @@ -495,7 +495,7 @@ void QDeclarativeEngineDebugServer::setBinding(int objectId, QDeclarativePropertyPrivate::setSignalExpression(property, declarativeExpression); } else { QDeclarativeBinding *binding = new QDeclarativeBinding(expression.toString(), object, context); - QDeclarativeProperty property(object, propertyName); + QDeclarativeProperty property(object, propertyName, context); binding->setTarget(property); binding->setNotifyOnValueChanged(true); QDeclarativeAbstractBinding *oldBinding = QDeclarativePropertyPrivate::setBinding(property, binding); |