Fix regression in handling of var-emitting signals from QML.


Qt 5.3 propagates var-arguments of signals as QJSValue instead of as a
QVariant. This then fails to be serialized to QJson, failing our unit
tests.

Now, QJSValue types are manually casted to QJsonValues which makes
the tests pass again.

Change-Id: I730c595eee214ebe3d1f83009cd5605f66407f55
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
commit3ae3b765fcc650d34c5f777e39b2302b77896d04
parent4117c5b8ea09d1ed872927edb31a63868c3f43e2
authorMilian Wolff <milian.wolff@kdab.com>
committerThe Qt Project <gerrit-noreply@qt-project.org>
commit timeThu, 9 Jan 2014 13:35:45 +0100