From cc9c85ecd68c8dae28567dac630f894faaaf1acf Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 8 Nov 2011 18:34:47 +0100 Subject: Support for up to 6 arguments in the new connection syntax For compilations without variadic template support Change-Id: I78af4f6022ad7a0923e5c5788a34eb7d834f50f3 Reviewed-by: Bradley T. Hughes --- tests/auto/corelib/kernel/qobject/tst_qobject.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto/corelib') diff --git a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp index f5a079fae5..1b5e3bd79e 100644 --- a/tests/auto/corelib/kernel/qobject/tst_qobject.cpp +++ b/tests/auto/corelib/kernel/qobject/tst_qobject.cpp @@ -4793,7 +4793,6 @@ namespace ManyArgumentNamespace { void tst_QObject::connectManyArguments() { -#ifdef Q_COMPILER_VARIADIC_TEMPLATES ManyArgumentObject ob; ob.count = 0; ManyArgumentNamespace::count = 0; @@ -4841,7 +4840,6 @@ void tst_QObject::connectManyArguments() emit ob2.signal6("a", "b", "c", "d", "e", "f"); QCOMPARE(ob2.count, 6); QCOMPARE(ManyArgumentNamespace::count, 6); -#endif } class ReturnValue : public QObject { -- cgit v1.2.3