summaryrefslogtreecommitdiff
path: root/src/declarative/qml/qdeclarativewatcher.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-22 14:58:56 +1000
committerMichael Brasser <michael.brasser@nokia.com>2010-04-23 09:46:03 +1000
commit64d384e4ec8d9cac98dba3feaab96658b1e27e87 (patch)
tree4aa703b8d94c69d58b7cc5f1edac1c07274432a7 /src/declarative/qml/qdeclarativewatcher.cpp
parent02a7574f213901d98766f717d0135685da139d38 (diff)
downloadqt4-tools-64d384e4ec8d9cac98dba3feaab96658b1e27e87.tar.gz
Rename QDeclarativeExpression::value() to evaluate().
QDeclarativeExpression can be used to evaluate any sort of expression, not just those returning a value.
Diffstat (limited to 'src/declarative/qml/qdeclarativewatcher.cpp')
-rw-r--r--src/declarative/qml/qdeclarativewatcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativewatcher.cpp b/src/declarative/qml/qdeclarativewatcher.cpp
index 9ea84b8549..842b3c41a1 100644
--- a/src/declarative/qml/qdeclarativewatcher.cpp
+++ b/src/declarative/qml/qdeclarativewatcher.cpp
@@ -110,7 +110,7 @@ void QDeclarativeWatchProxy::notifyValueChanged()
{
QVariant v;
if (m_expr)
- v = m_expr->value();
+ v = m_expr->evaluate();
else
v = m_property.read(m_object);