From 1dbb78505421cc0cd2dd94f3304dae119a92152a Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 10 Jun 2015 13:09:59 +0200 Subject: Remove signal finished() overload The overload is deprecated in Qt, but can't be removed due to BC issues. We can remove it though. Change-Id: Iceaf7ca772ec7be6347b675fa62acad918afc8b0 Reviewed-by: Karsten Heimrich --- tests/auto/installer/clientserver/tst_clientserver.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests/auto/installer') diff --git a/tests/auto/installer/clientserver/tst_clientserver.cpp b/tests/auto/installer/clientserver/tst_clientserver.cpp index e5be5a8a0..450c9ee8c 100644 --- a/tests/auto/installer/clientserver/tst_clientserver.cpp +++ b/tests/auto/installer/clientserver/tst_clientserver.cpp @@ -460,8 +460,7 @@ private slots: } QSignalSpy spy(&wrapper, SIGNAL(started())); - QSignalSpy spy2(&wrapper, SIGNAL(finished(int))); - QSignalSpy spy3(&wrapper, SIGNAL(finished(int, QProcess::ExitStatus))); + QSignalSpy spy2(&wrapper, SIGNAL(finished(int, QProcess::ExitStatus))); #ifdef Q_OS_WIN wrapper.start(fileName); @@ -480,10 +479,6 @@ private slots: QCOMPARE(spy2.count(), 1); QList arguments = spy2.takeFirst(); QCOMPARE(arguments.first().toInt(), 0); - - QCOMPARE(spy3.count(), 1); - arguments = spy3.takeFirst(); - QCOMPARE(arguments.first().toInt(), 0); QCOMPARE(arguments.last().toInt(), int(QProcessWrapper::NormalExit)); QFile::remove(fileName); -- cgit v1.2.3