aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcontextwrapper.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2015-01-10 20:51:15 +0100
committerLars Knoll <lars.knoll@digia.com>2015-01-21 13:18:47 +0100
commit36662b60b09f636c3623057f8116e862f94ff440 (patch)
tree1a8a1ee74db89745ea3e327f70229b6b29bb2e62 /src/qml/qml/qqmlcontextwrapper.cpp
parent85bf8d732b9651ce7b88d5464b8b3aae138e1893 (diff)
Remove all the setVTable() calls that aren't required anymore
The memory manager's allocation methods now set this up correctly for us :) Change-Id: I8492bf732df601f95a1a851fb3804127ffc83935 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcontextwrapper.cpp')
-rw-r--r--src/qml/qml/qqmlcontextwrapper.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlcontextwrapper.cpp b/src/qml/qml/qqmlcontextwrapper.cpp
index 78a77f79d4..dda5187b4f 100644
--- a/src/qml/qml/qqmlcontextwrapper.cpp
+++ b/src/qml/qml/qqmlcontextwrapper.cpp
@@ -61,7 +61,6 @@ Heap::QmlContextWrapper::QmlContextWrapper(QV4::ExecutionEngine *engine, QQmlCon
, context(context)
, scopeObject(scopeObject)
{
- setVTable(QV4::QmlContextWrapper::staticVTable());
}
Heap::QmlContextWrapper::~QmlContextWrapper()
@@ -425,7 +424,6 @@ Heap::QQmlIdObjectsArray::QQmlIdObjectsArray(ExecutionEngine *engine, QV4::QmlCo
: Heap::Object(engine)
, contextWrapper(contextWrapper->d())
{
- setVTable(QV4::QQmlIdObjectsArray::staticVTable());
}
ReturnedValue QQmlIdObjectsArray::getIndexed(Managed *m, uint index, bool *hasProperty)