summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorLasse Holmstedt <lasse.holmstedt@nokia.com>2010-07-14 13:17:35 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-07-17 01:33:00 (GMT)
commit42acecc6dc8f4d2fe09d5dda8907041845d37999 (patch)
tree9d4976b0e7444f11d76a2b95b00ab724241371b1 /src/declarative/qml
parent9948019d88ec22182c2cf0bd62c888bfbcdb7da5 (diff)
downloadQt-42acecc6dc8f4d2fe09d5dda8907041845d37999.zip
Qt-42acecc6dc8f4d2fe09d5dda8907041845d37999.tar.gz
Qt-42acecc6dc8f4d2fe09d5dda8907041845d37999.tar.bz2
Fixed debugger's evaluation of dynamic properties in context
Reviewed-by: Aaron Kennedy (cherry picked from commit ae39a510f86fd13d6d41bc85d4f5c243eca45eab)
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativeenginedebug.cpp2
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);