From 14985d7b4347ed422358f963ae184f4dcb22f66f Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Wed, 25 Jul 2012 09:48:42 +1000 Subject: 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 --- tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/auto/qml') diff --git a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp index c7763fcbd4..4e1638f516 100644 --- a/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp +++ b/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp @@ -509,7 +509,6 @@ void tst_qqmlecmascript::signalAssignment() QVERIFY(object != 0); QCOMPARE(object->string(), QString()); emit object->unnamedArgumentSignal(19, 10.25, "Hello world!"); - QEXPECT_FAIL("", "QTBUG-24481", Continue); QCOMPARE(object->string(), QString("pass 19 Hello world!")); delete object; } -- cgit v1.2.3