summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttpnetworkconnection.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-07-27 09:18:35 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-07-27 09:19:33 (GMT)
commit9745d9d485e153d2f22e04770e9caecb9f0eaaca (patch)
tree38c127ce7961e37c8db0ceacd2d569a78204abb5 /src/network/access/qhttpnetworkconnection.cpp
parenta1ca36db95758e8929bcf2fbe4ecd1b2b5047f20 (diff)
downloadQt-9745d9d485e153d2f22e04770e9caecb9f0eaaca.zip
Qt-9745d9d485e153d2f22e04770e9caecb9f0eaaca.tar.gz
Qt-9745d9d485e153d2f22e04770e9caecb9f0eaaca.tar.bz2
QHttpNetworkConnectionPrivate: Removed wrong comment
The comment was speaking about upload progress, however the code is about download progress. Reviewed-by: TrustMe
Diffstat (limited to 'src/network/access/qhttpnetworkconnection.cpp')
-rw-r--r--src/network/access/qhttpnetworkconnection.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/network/access/qhttpnetworkconnection.cpp b/src/network/access/qhttpnetworkconnection.cpp
index 3f0b244..66aeb22 100644
--- a/src/network/access/qhttpnetworkconnection.cpp
+++ b/src/network/access/qhttpnetworkconnection.cpp
@@ -571,9 +571,6 @@ bool QHttpNetworkConnectionPrivate::expand(QAbstractSocket *socket, QHttpNetwork
// make sure that the reply is valid
if (channels[i].reply != reply)
return true;
- // emit dataReadProgress signal (signal is currently not connected
- // to the rest of QNAM) since readProgress of the
- // QNonContiguousByteDevice is used
emit reply->dataReadProgress(reply->d_func()->totalProgress, 0);
// make sure that the reply is valid
if (channels[i].reply != reply)
@@ -700,9 +697,6 @@ void QHttpNetworkConnectionPrivate::receiveReply(QAbstractSocket *socket, QHttpN
// make sure that the reply is valid
if (channels[i].reply != reply)
return;
- // emit dataReadProgress signal (signal is currently not connected
- // to the rest of QNAM) since readProgress of the
- // QNonContiguousByteDevice is used
emit reply->dataReadProgress(reply->d_func()->totalProgress, reply->d_func()->bodyLength);
// make sure that the reply is valid
if (channels[i].reply != reply)