summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkreply.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2010-01-18 13:57:21 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2010-01-18 15:48:03 (GMT)
commitb5d3b999fa9c52246c8d4e4c1389df105d96cced (patch)
tree35edc2742f9a170237c7f266fdc89648264c1853 /src/network/access/qnetworkreply.cpp
parentc4a842563d40e8b4c3693a8acb77c9aff6f06e29 (diff)
downloadQt-b5d3b999fa9c52246c8d4e4c1389df105d96cced.zip
Qt-b5d3b999fa9c52246c8d4e4c1389df105d96cced.tar.gz
Qt-b5d3b999fa9c52246c8d4e4c1389df105d96cced.tar.bz2
Enhance QFileNetworkReply
It is now considered as finished immediatly after creation to avoid an event loop spin. Had to change the auto tests a bit to account for the new behaviour. Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/access/qnetworkreply.cpp')
-rw-r--r--src/network/access/qnetworkreply.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/network/access/qnetworkreply.cpp b/src/network/access/qnetworkreply.cpp
index 49a287f..0a8ea5d 100644
--- a/src/network/access/qnetworkreply.cpp
+++ b/src/network/access/qnetworkreply.cpp
@@ -239,7 +239,10 @@ QNetworkReplyPrivate::QNetworkReplyPrivate()
\note Do not delete the object in the slot connected to this
signal. Use deleteLater().
- \sa QNetworkAccessManager::finished()
+ You can also use isFinished() to check if a QNetworkReply
+ has finished even before you receive the finished() signal.
+
+ \sa QNetworkAccessManager::finished(), isFinished()
*/
/*!