From 36662b60b09f636c3623057f8116e862f94ff440 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 10 Jan 2015 20:51:15 +0100 Subject: 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 --- src/qml/qml/qqmlcomponent.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/qml/qml/qqmlcomponent.cpp') diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp index 8f146b7a8a..5aed1bc0dc 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -1481,8 +1481,6 @@ QV4::Heap::QmlIncubatorObject::QmlIncubatorObject(ExecutionEngine *engine, QQmlI , qmlGlobal(QV4::Primitive::undefinedValue()) , statusChanged(QV4::Primitive::undefinedValue()) { - setVTable(QV4::QmlIncubatorObject::staticVTable()); - incubator.reset(new QQmlComponentIncubator(this, m)); } -- cgit v1.2.3