diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-03-25 09:54:20 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-25 10:01:45 +0100 |
commit | 30f0b9a7fec30d81b58cf02d21bcd82d152ff0c8 (patch) | |
tree | 6751850644f59c9c843d7089dbf06760448cae07 /src/qml/jsruntime | |
parent | 7526cb1c9507b4718ca63aa0d708b1421cfaa051 (diff) |
Don't create prototype objects for bindings
They are neither used not accessible from QML.
Change-Id: I14fa6059b8e64cb2c3b9d025061548009a473f96
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r-- | src/qml/jsruntime/qv4script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp index fc02e04e79..15298017c7 100644 --- a/src/qml/jsruntime/qv4script.cpp +++ b/src/qml/jsruntime/qv4script.cpp @@ -61,7 +61,7 @@ using namespace QV4; QmlBindingWrapper::QmlBindingWrapper(ExecutionContext *scope, Function *f, ObjectRef qml) - : FunctionObject(scope, scope->engine->id_eval) + : FunctionObject(scope, scope->engine->id_eval, /*createProto = */ false) , qml(qml) , qmlContext(0) { @@ -82,7 +82,7 @@ QmlBindingWrapper::QmlBindingWrapper(ExecutionContext *scope, Function *f, Objec } QmlBindingWrapper::QmlBindingWrapper(ExecutionContext *scope, ObjectRef qml) - : FunctionObject(scope, scope->engine->id_eval) + : FunctionObject(scope, scope->engine->id_eval, /*createProto = */ false) , qml(qml) , qmlContext(0) { |