diff options
author | Albert Astals Cid <[email protected]> | 2014-11-10 17:06:36 +0100 |
---|---|---|
committer | Albert Astals Cid <[email protected]> | 2014-12-02 09:11:25 +0100 |
commit | 68cab0b25061c4d9789af246ac5be9776756510e (patch) | |
tree | 45b4efe0a08f25a408a2a9904a9f14735bc3214e /src/network/access/qnetworkreply.cpp | |
parent | 03c4b52e1314f0f54d65e163b5f85dce212c6cf6 (diff) |
QNetworkReply::abort will also call finished()
Change-Id: I86e493178bf523c47eed36015354c0fbbebd56d2
Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/network/access/qnetworkreply.cpp')
-rw-r--r-- | src/network/access/qnetworkreply.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/network/access/qnetworkreply.cpp b/src/network/access/qnetworkreply.cpp index 39762e23247..18ff05fcd77 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() */ /*! |