summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlwatcher.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-02-23 06:47:50 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-02-23 06:47:50 (GMT)
commitcb3cd645082bda7b5142ceff31e5795f2d047c39 (patch)
tree152c67201476d81d423089cc5aef7e214bd8c85b /src/declarative/qml/qmlwatcher.cpp
parent5ffd6c0fba0ecc709551e414ed0649de15ac3754 (diff)
parent55fff3383b7fbac972a96c62345bc898c99eafc0 (diff)
downloadQt-cb3cd645082bda7b5142ceff31e5795f2d047c39.zip
Qt-cb3cd645082bda7b5142ceff31e5795f2d047c39.tar.gz
Qt-cb3cd645082bda7b5142ceff31e5795f2d047c39.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'src/declarative/qml/qmlwatcher.cpp')
-rw-r--r--src/declarative/qml/qmlwatcher.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlwatcher.cpp b/src/declarative/qml/qmlwatcher.cpp
index 59503de..a8a94c5 100644
--- a/src/declarative/qml/qmlwatcher.cpp
+++ b/src/declarative/qml/qmlwatcher.cpp
@@ -154,6 +154,7 @@ bool QmlWatcher::addWatch(int id, quint32 objectId, const QString &expr)
QmlContext *context = qmlContext(object);
if (context) {
QmlExpression *exprObj = new QmlExpression(context, expr, object);
+ exprObj->setNotifyOnValueChanged(true);
QmlWatchProxy *proxy = new QmlWatchProxy(id, exprObj, objectId, this);
exprObj->setParent(proxy);
m_proxies[id].append(proxy);