From 49a6ee50587c9d4b6f07e60ce1a939c863e7f15c Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Tue, 5 Jul 2016 22:11:42 +0200 Subject: Qt: Fix test build with Qt < 5.4.0 * lang/qt/tests/t-keylist.cpp, lang/qt/tests/t-keylocate.cpp, lang/qt/tests/t-ownertrust.cpp: Use old style SIGNAl syntax for QSignalSpy --- lang/qt/tests/t-keylocate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/qt/tests/t-keylocate.cpp') diff --git a/lang/qt/tests/t-keylocate.cpp b/lang/qt/tests/t-keylocate.cpp index 12ab551a..682f722c 100644 --- a/lang/qt/tests/t-keylocate.cpp +++ b/lang/qt/tests/t-keylocate.cpp @@ -80,7 +80,7 @@ private Q_SLOTS: Q_EMIT asyncDone(); }); job->start(QStringList() << mTestpattern); - QSignalSpy spy (this, &KeyLocateTest::asyncDone); + QSignalSpy spy (this, SIGNAL(asyncDone())); Q_ASSERT(spy.wait()); qputenv("GNUPGHOME", oldHome.toUtf8()); } @@ -111,7 +111,7 @@ private Q_SLOTS: Q_EMIT asyncDone(); }); job->start(QStringList() << mTestpattern); - QSignalSpy spy (this, &KeyLocateTest::asyncDone); + QSignalSpy spy (this, SIGNAL(asyncDone())); Q_ASSERT(spy.wait()); } -- cgit v1.2.3