tst_qnetworkreply: remove no such signal warnings
authorMartin Petersson <Martin.Petersson@nokia.com>
Mon, 6 Feb 2012 14:42:19 +0000 (15:42 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Feb 2012 07:42:58 +0000 (08:42 +0100)
The QNetworkReply finished signal does not have a bool parameter.

Change-Id: I87bd0410545f7a2fc2ab63cca90548f0585bf7a0
Reviewed-by: Shane Kearns <ext-shane.2.kearns@nokia.com>
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp

index 959250a..44cafe4 100644 (file)
@@ -1860,7 +1860,7 @@ void tst_QNetworkReply::putToFtp()
 
     QObject::connect(r, SIGNAL(finished()), &QTestEventLoop::instance(), SLOT(exitLoop()));
     QTestEventLoop::instance().enterLoop(10);
-    QObject::disconnect(r, SIGNAL(finished(bool)), &QTestEventLoop::instance(), SLOT(exitLoop()));
+    QObject::disconnect(r, SIGNAL(finished()), &QTestEventLoop::instance(), SLOT(exitLoop()));
 
     QByteArray uploaded = r->readAll();
     QCOMPARE(uploaded.size(), data.size());
@@ -3911,7 +3911,7 @@ void tst_QNetworkReply::ioPutToFtpFromFile()
 
     QObject::connect(r, SIGNAL(finished()), &QTestEventLoop::instance(), SLOT(exitLoop()));
     QTestEventLoop::instance().enterLoop(3);
-    QObject::disconnect(r, SIGNAL(finished(bool)), &QTestEventLoop::instance(), SLOT(exitLoop()));
+    QObject::disconnect(r, SIGNAL(finished()), &QTestEventLoop::instance(), SLOT(exitLoop()));
 
     QByteArray uploaded = r->readAll();
     QCOMPARE(qint64(uploaded.size()), sourceFile.size());