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>
| commit | 3ae3b765fcc650d34c5f777e39b2302b77896d04 |
| parent | 4117c5b8ea09d1ed872927edb31a63868c3f43e2 |
| author | Milian Wolff <milian.wolff@kdab.com> |
| committer | The Qt Project <gerrit-noreply@qt-project.org> |
| commit time | Thu, 9 Jan 2014 13:35:45 +0100 |