aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmljavascriptexpression_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-12-02 15:19:45 +0100
committerLars Knoll <lars.knoll@qt.io>2016-12-09 14:01:49 +0000
commitc953f8b550b7ea9e7989f9fddaaa14324354aea3 (patch)
tree02ec1179f225e7b8080136e9e9afc8d6da7fcc32 /src/qml/qml/qqmljavascriptexpression_p.h
parent421d21a0334002f6497ce105876856dc0647c8ff (diff)
Avoid the creation of a FunctionObject for most bindings
Change-Id: Ia62d380945250015009d9c2b6ed65f6d830277ef Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmljavascriptexpression_p.h')
-rw-r--r--src/qml/qml/qqmljavascriptexpression_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h
index 36024082c9..8a230efeeb 100644
--- a/src/qml/qml/qqmljavascriptexpression_p.h
+++ b/src/qml/qml/qqmljavascriptexpression_p.h
@@ -159,6 +159,7 @@ protected:
}
void setFunctionObject(const QV4::FunctionObject *o);
+ void setupFunction(QV4::QmlContext *qmlContext, QV4::Function *f);
private:
friend class QQmlContextData;