Fix a bug in the creation of JS Array's from variant and string lists
authorLars Knoll <lars.knoll@digia.com>
Sun, 19 May 2013 21:50:47 +0000 (23:50 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Tue, 21 May 2013 07:56:50 +0000 (09:56 +0200)
commitee383110d574ab0bf13fac8a32cc6fa982612040
tree61afc6f3472a0a2d6409b335bacb2f7c00b3f4c0
parentd3050322bb317267e8a3a0da01c0d5c1c2aa016f
Fix a bug in the creation of JS Array's from variant and string lists

Correctly set the arrayDataLen or V4 assumes the array is empty.

Change-Id: I6b7454b2e7a2b459b1e41e6d6234f89460013107
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/v8/qv8engine.cpp