Fix constructions of QJSEngine objects
authorLars Knoll <lars.knoll@theqtcompany.com>
Thu, 1 Jan 2015 15:33:04 +0000 (16:33 +0100)
committerLars Knoll <lars.knoll@digia.com>
Thu, 1 Jan 2015 20:36:36 +0000 (21:36 +0100)
commit645d9e9632e061b26b2312d144a26fe8dc75cd1c
treeae63035ef7f5b1bab8cf47add75d4ebbbdd44e30
parent07d714f3ca5c736f69d5a8eb3cf4d656aa348c82
Fix constructions of QJSEngine objects

The private class is not empty anymore, so calling the wrong
constructor would lead to memory corruption

Change-Id: I6d477fc63bba46be733273f548397c2a50ef2bf4
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsapi/qjsengine.cpp