Ensure params listed after unnamed params are available in QML.
authorGlenn Watson <glenn.watson@nokia.com>
Tue, 24 Jul 2012 23:48:42 +0000 (09:48 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 25 Jul 2012 04:13:14 +0000 (06:13 +0200)
commit14985d7b4347ed422358f963ae184f4dcb22f66f
tree0c65afdbed0cda40f69fc2b4cdfaf3436d7d7639
parent3e5d9532391549cc115f4cc6a824401acd2e8600
Ensure params listed after unnamed params are available in QML.

If a parameter in a bound signal had no name, it was excluded from
the metaobject created by the bound signal expression. Change this
so that unnamed parameters are still added (with an anonymous
name). This means that subsequent parameters can be accessed from QML.

Task-number: QTBUG-24481
Change-Id: Ia3403fb3bdc3da0c7e58baf7e891b67ed413bebd
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
src/qml/qml/qqmlboundsignal.cpp
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp