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/qqmljavascriptexpression_p.h | |
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/qqmljavascriptexpression_p.h')
-rw-r--r-- | src/qml/qml/qqmljavascriptexpression_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h index f9f304a524..80b9089f26 100644 --- a/src/qml/qml/qqmljavascriptexpression_p.h +++ b/src/qml/qml/qqmljavascriptexpression_p.h @@ -98,8 +98,8 @@ public: virtual QString expressionIdentifier() = 0; virtual void expressionChanged() = 0; - QV4::ReturnedValue evaluate(QQmlContextData *, const QV4::Value &function, bool *isUndefined); - QV4::ReturnedValue evaluate(QQmlContextData *, const QV4::Value &function, QV4::CallData *callData, bool *isUndefined); + QV4::ReturnedValue evaluate(const QV4::Value &function, bool *isUndefined); + QV4::ReturnedValue evaluate(const QV4::Value &function, QV4::CallData *callData, bool *isUndefined); inline bool notifyOnValueChanged() const; |