summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLasse Holmstedt <lasse.holmstedt@nokia.com>2010-07-14 13:17:35 (GMT)
committerLasse Holmstedt <lasse.holmstedt@nokia.com>2010-07-16 07:27:54 (GMT)
commitae39a510f86fd13d6d41bc85d4f5c243eca45eab (patch)
treedc032933565e0b9cf11f294d2fa0c1facfd2bcd4
parent402ffa151d56a7af851d38a83bc37959c133cf94 (diff)
downloadQt-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.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);