diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2011-11-08 18:34:47 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-30 17:19:07 +0100 |
commit | cc9c85ecd68c8dae28567dac630f894faaaf1acf (patch) | |
tree | 41e8a48fe1284482e465c9e38a5c137cf8388088 /tests/auto | |
parent | e204b33f54d07df555b48ca10003789bd2c3b715 (diff) |
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 <bradley.hughes@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/corelib/kernel/qobject/tst_qobject.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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 { |