diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-04-14 15:14:19 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-04-26 07:50:12 +0000 |
commit | 65f0629144cb6169707c425fd3def9915dec3e45 (patch) | |
tree | e28edcb316ef69fb45c455848323c51d1741ec79 /src/qml/qml/qqmlexpression.cpp | |
parent | 8e85b54f0598834d67d1931af371bb9ab1664738 (diff) |
Cleanup: remove context argument from evaluate methods
We always called evaluate with our own context, so there's no
need to pass it along as an argument.
Change-Id: I3463165eb2947b230c7acf54e7c29dd5d3b8e17c
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlexpression.cpp')
-rw-r--r-- | src/qml/qml/qqmlexpression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlexpression.cpp b/src/qml/qml/qqmlexpression.cpp index f84a5c2e16..b9843cabed 100644 --- a/src/qml/qml/qqmlexpression.cpp +++ b/src/qml/qml/qqmlexpression.cpp @@ -252,7 +252,7 @@ QV4::ReturnedValue QQmlExpressionPrivate::v4value(bool *isUndefined) QV4::Scope scope(v4); QV4::ScopedValue f(scope, function.value()); - return evaluate(context(), f, isUndefined); + return evaluate(f, isUndefined); } QVariant QQmlExpressionPrivate::value(bool *isUndefined) |