Do not call InternalClass::changeVTable directly
authorLars Knoll <lars.knoll@digia.com>
Thu, 5 Dec 2013 13:02:50 +0000 (14:02 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 3 Jan 2014 16:09:11 +0000 (17:09 +0100)
commit74ef33c8818544ef64288ab7193897a96413216e
treea0976ccda3c6247b7b1cc008e5b77b46cbcb2a0f
parent751fa46df9bf06a1003df34b3e74c73c079e8626
Do not call InternalClass::changeVTable directly

vtable changes need to happen when the internal class
is being constructed, not later on.

Change-Id: Ibb9515745c9fc3507a5a90b4cc50a33e2e0d3f99
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4engine.cpp
src/qml/jsruntime/qv4internalclass.cpp