summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlboundsignal.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-23 06:18:33 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-23 06:19:10 (GMT)
commit287a8757e348f56e2ae918d1aa5bf329c985f620 (patch)
tree842b54d60caeaf750884e61eefc54b5cf79f7272 /src/declarative/qml/qmlboundsignal.cpp
parentcd8d8d49f78c1cbb8ad3546e66a461b9e6e29ff5 (diff)
downloadQt-287a8757e348f56e2ae918d1aa5bf329c985f620.zip
Qt-287a8757e348f56e2ae918d1aa5bf329c985f620.tar.gz
Qt-287a8757e348f56e2ae918d1aa5bf329c985f620.tar.bz2
QmlExpression API review
Diffstat (limited to 'src/declarative/qml/qmlboundsignal.cpp')
-rw-r--r--src/declarative/qml/qmlboundsignal.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlboundsignal.cpp b/src/declarative/qml/qmlboundsignal.cpp
index a075899..db5fd61 100644
--- a/src/declarative/qml/qmlboundsignal.cpp
+++ b/src/declarative/qml/qmlboundsignal.cpp
@@ -124,7 +124,6 @@ QmlBoundSignal::QmlBoundSignal(QmlContext *ctxt, const QString &val,
QMetaObject::connect(scope, m_signal.methodIndex(), this, evaluateIdx);
m_expression = new QmlExpression(ctxt, val, scope);
- m_expression->setTrackChange(false);
}
QmlBoundSignal::~QmlBoundSignal()
@@ -157,7 +156,7 @@ QmlExpression *QmlBoundSignal::setExpression(QmlExpression *e)
{
QmlExpression *rv = m_expression;
m_expression = e;
- if (m_expression) m_expression->setTrackChange(false);
+ if (m_expression) m_expression->setNotifyOnValueChanged(false);
return rv;
}