diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-08-30 11:22:00 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-02 17:27:36 +0200 |
commit | 4dbb2ab600930d476a6f279dc73befdf56220359 (patch) | |
tree | ced1a9a71ad7e7b1679f2beed0ffe3051bb40477 /src/qml/qml/qqmlcontextwrapper.cpp | |
parent | 3bf081203e713330aa1e5e92bc8b30fcc420e228 (diff) |
Remove more usages of Object::setPrototype()
Change-Id: I33383baf14e764ce79252a100a6d769bde75331a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcontextwrapper.cpp')
-rw-r--r-- | src/qml/qml/qqmlcontextwrapper.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcontextwrapper.cpp b/src/qml/qml/qqmlcontextwrapper.cpp index 7c99bbcf9f..bd0b211403 100644 --- a/src/qml/qml/qqmlcontextwrapper.cpp +++ b/src/qml/qml/qqmlcontextwrapper.cpp @@ -78,7 +78,6 @@ QV4::Value QmlContextWrapper::qmlScope(QV8Engine *v8, QQmlContextData *ctxt, QOb ExecutionEngine *v4 = QV8Engine::getV4(v8); QmlContextWrapper *w = new (v4->memoryManager) QmlContextWrapper(v8, ctxt, scope); - w->setPrototype(v4->objectPrototype); return Value::fromObject(w); } @@ -93,7 +92,6 @@ QV4::Value QmlContextWrapper::urlScope(QV8Engine *v8, const QUrl &url) QmlContextWrapper *w = new (v4->memoryManager) QmlContextWrapper(v8, context, 0); w->isNullWrapper = true; - w->setPrototype(v4->objectPrototype); return Value::fromObject(w); } |