aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmljavascriptexpression.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-24 19:56:58 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-26 02:47:41 +0200
commit82be884e2f8fe38c23476cd7e03a410225dfd42f (patch)
tree9bf4525a6f54a86dca565d3999632fa8ccd74e5f /src/qml/qml/qqmljavascriptexpression.cpp
parent805aa4df3544591afd8c822a51abd142f9008f01 (diff)
Small cleanup
We don't do rewriting for bindings anymore. Remove a method overload that's not really needed anymore. Change-Id: I9d57d30dce4848cb06c88c3f042ccf30e6d41aab Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmljavascriptexpression.cpp')
-rw-r--r--src/qml/qml/qqmljavascriptexpression.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression.cpp b/src/qml/qml/qqmljavascriptexpression.cpp
index 28abf5fa11..99ab12fcb5 100644
--- a/src/qml/qml/qqmljavascriptexpression.cpp
+++ b/src/qml/qml/qqmljavascriptexpression.cpp
@@ -308,15 +308,6 @@ void QQmlJavaScriptExpression::exceptionToError(const QV4::Exception &e, QQmlErr
QV4::PersistentValue
QQmlJavaScriptExpression::evalFunction(QQmlContextData *ctxt, QObject *scope,
- const char *code, int codeLength,
- const QString &filename, quint16 line,
- QV4::PersistentValue *qmlscope)
-{
- return evalFunction(ctxt, scope, QString::fromUtf8(code, codeLength), filename, line, qmlscope);
-}
-
-QV4::PersistentValue
-QQmlJavaScriptExpression::evalFunction(QQmlContextData *ctxt, QObject *scope,
const QString &code, const QString &filename, quint16 line,
QV4::PersistentValue *qmlscope)
{