diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-06-10 13:09:59 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-06-11 12:28:39 +0000 |
commit | 1dbb78505421cc0cd2dd94f3304dae119a92152a (patch) | |
tree | 4ff086c0448c94a7c814a6d862993b36eed65b28 /tests | |
parent | cb7613e8163b03fe94f54c307404e427b69d025c (diff) |
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 <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/installer/clientserver/tst_clientserver.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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<QVariant> 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); |