aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmljavascriptexpression_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-12-05 15:02:43 +0100
committerLars Knoll <lars.knoll@qt.io>2016-12-09 14:02:51 +0000
commit1ababa4a756dc4cc0ae474b15cccfbfa8727e505 (patch)
tree0d0d5fc605e02211628686bab06735a997ac9cf2 /src/qml/qml/qqmljavascriptexpression_p.h
parenta36677bbcfe7861a18e6ed9e4aa457d41e05a1f2 (diff)
Get rid of QQmlJavaScriptExpression::setFunctionObject()
It was only used in one place now, and the code is actually cleaner when calling setupFunction() instead. Change-Id: Idfe2842b81e765569f2c70f3d5dcd1862442a2ee 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, 0 insertions, 1 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h
index 8cbaf891a4..0724038382 100644
--- a/src/qml/qml/qqmljavascriptexpression_p.h
+++ b/src/qml/qml/qqmljavascriptexpression_p.h
@@ -159,7 +159,6 @@ protected:
}
}
- void setFunctionObject(const QV4::FunctionObject *o);
void setupFunction(QV4::ExecutionContext *qmlContext, QV4::Function *f);
private: