summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-10-27 12:06:28 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-10-27 12:40:29 (GMT)
commitb5d9dbf28b78aa17bfb70aa2e5fd3da99fe53ff0 (patch)
treed70c90f14ad4fd095142cdf034c67f2c23da4d52 /tests
parentbe18016694c57fef508aa4715f5b8f9bbf21e5ac (diff)
downloadQt-b5d9dbf28b78aa17bfb70aa2e5fd3da99fe53ff0.zip
Qt-b5d9dbf28b78aa17bfb70aa2e5fd3da99fe53ff0.tar.gz
Qt-b5d9dbf28b78aa17bfb70aa2e5fd3da99fe53ff0.tar.bz2
QNAM HTTP: Remove the error() of QHttpNetworkConnection
Removed the distinction between reply error and connection error. The QNetworkAccessManager was treating them the same way anyway. Reviewed-by: Prasanth Task-Number: QTBUG-13234
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp b/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
index 29fe2fb..4a32a5a 100644
--- a/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
+++ b/tests/auto/qhttpnetworkconnection/tst_qhttpnetworkconnection.cpp
@@ -330,8 +330,6 @@ void tst_QHttpNetworkConnection::put()
connect(reply, SIGNAL(finished()), SLOT(finishedReply()));
connect(reply, SIGNAL(finishedWithError(QNetworkReply::NetworkError, const QString &)),
SLOT(finishedWithError(QNetworkReply::NetworkError, const QString &)));
- connect(&connection, SIGNAL(error(QNetworkReply::NetworkError, const QString &)),
- SLOT(finishedWithError(QNetworkReply::NetworkError, const QString &)));
QTime stopWatch;
stopWatch.start();