summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals@canonical.com>2014-11-10 17:06:36 +0100
committerAlbert Astals Cid <albert.astals@canonical.com>2014-12-02 09:11:25 +0100
commit68cab0b25061c4d9789af246ac5be9776756510e (patch)
tree45b4efe0a08f25a408a2a9904a9f14735bc3214e /src/network
parent03c4b52e1314f0f54d65e163b5f85dce212c6cf6 (diff)
QNetworkReply::abort will also call finished()
Change-Id: I86e493178bf523c47eed36015354c0fbbebd56d2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qnetworkreply.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/network/access/qnetworkreply.cpp b/src/network/access/qnetworkreply.cpp
index 39762e2324..18ff05fcd7 100644
--- a/src/network/access/qnetworkreply.cpp
+++ b/src/network/access/qnetworkreply.cpp
@@ -275,7 +275,7 @@ QNetworkReplyPrivate::QNetworkReplyPrivate()
processing. After this signal is emitted, there will be no more
updates to the reply's data or metadata.
- Unless close() has been called, the reply will be still be opened
+ Unless close() or abort() have been called, the reply will be still be opened
for reading, so the data can be retrieved by calls to read() or
readAll(). In particular, if no calls to read() were made as a
result of readyRead(), a call to readAll() will retrieve the full
@@ -364,7 +364,9 @@ QNetworkReplyPrivate::QNetworkReplyPrivate()
connections still open. Uploads still in progress are also
aborted.
- \sa close()
+ The finished() signal will also be emitted.
+
+ \sa close(), finished()
*/
/*!