diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-09 12:17:29 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-09 12:17:29 (GMT) |
commit | 20a3f5a4748f04d8a584040256755af7f97e870d (patch) | |
tree | 53576dbebfb781b46f08825ec7950507a724e223 /src/network | |
parent | db934a4e287f083f41e6a6ad1d48bbf223588efa (diff) | |
parent | 0c9cb9a34d6b472cb53bf1af4616af55b593b616 (diff) | |
download | Qt-20a3f5a4748f04d8a584040256755af7f97e870d.zip Qt-20a3f5a4748f04d8a584040256755af7f97e870d.tar.gz Qt-20a3f5a4748f04d8a584040256755af7f97e870d.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
emit QNetWorkAccessManager::finished on QNetworkReply::abort()
Fix -no-gui
Don't run XLib check if -no-gui is used
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/access/qnetworkreplyimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkreplyimpl.cpp b/src/network/access/qnetworkreplyimpl.cpp index 069755f..09fab51 100644 --- a/src/network/access/qnetworkreplyimpl.cpp +++ b/src/network/access/qnetworkreplyimpl.cpp @@ -775,6 +775,8 @@ void QNetworkReplyImpl::abort() if (d->state != QNetworkReplyImplPrivate::Finished) { // emit signals d->error(OperationCanceledError, tr("Operation canceled")); + if (d->state == QNetworkReplyImplPrivate::WaitingForSession) + d->state = QNetworkReplyImplPrivate::Working; d->finished(); } d->state = QNetworkReplyImplPrivate::Aborted; |