diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-22 04:58:56 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-22 23:46:03 (GMT) |
commit | 64d384e4ec8d9cac98dba3feaab96658b1e27e87 (patch) | |
tree | 4aa703b8d94c69d58b7cc5f1edac1c07274432a7 /src/declarative/util/qdeclarativeanimation.cpp | |
parent | 02a7574f213901d98766f717d0135685da139d38 (diff) | |
download | Qt-64d384e4ec8d9cac98dba3feaab96658b1e27e87.zip Qt-64d384e4ec8d9cac98dba3feaab96658b1e27e87.tar.gz Qt-64d384e4ec8d9cac98dba3feaab96658b1e27e87.tar.bz2 |
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/util/qdeclarativeanimation.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativeanimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp index 4f7719b..3b0d264 100644 --- a/src/declarative/util/qdeclarativeanimation.cpp +++ b/src/declarative/util/qdeclarativeanimation.cpp @@ -780,7 +780,7 @@ void QDeclarativeScriptActionPrivate::execute() QDeclarativeData *ddata = QDeclarativeData::get(q); if (ddata && ddata->outerContext && !ddata->outerContext->url.isEmpty()) expr.setSourceLocation(ddata->outerContext->url.toString(), ddata->lineNumber); - expr.value(); + expr.evaluate(); if (expr.hasError()) qmlInfo(q) << expr.error(); } |