diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-08-20 11:09:52 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-08-20 11:10:51 (GMT) |
commit | 4a212d6c2ae82a1c5b7c9395e5a84dad8dd0b24c (patch) | |
tree | 2dd9d9b66b3034c44f2bd1661b9ad0a6d7592c5c /src | |
parent | 9127fd802cb9127939dc41d125a5ac59d4876a71 (diff) | |
download | Qt-4a212d6c2ae82a1c5b7c9395e5a84dad8dd0b24c.zip Qt-4a212d6c2ae82a1c5b7c9395e5a84dad8dd0b24c.tar.gz Qt-4a212d6c2ae82a1c5b7c9395e5a84dad8dd0b24c.tar.bz2 |
QNAM HTTP Code: Compile fix
Build was broken when Qt3 support stuff was not enabled
Reviewed-by: TrustMe
Diffstat (limited to 'src')
-rw-r--r-- | src/network/access/qhttpnetworkconnectionchannel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/access/qhttpnetworkconnectionchannel.cpp b/src/network/access/qhttpnetworkconnectionchannel.cpp index 221c27c..334c31d 100644 --- a/src/network/access/qhttpnetworkconnectionchannel.cpp +++ b/src/network/access/qhttpnetworkconnectionchannel.cpp @@ -539,7 +539,7 @@ void QHttpNetworkConnectionChannel::allDone() // move next from pipeline to current request if (!alreadyPipelinedRequests.isEmpty()) { - if (resendCurrent || reply->d_func()->connectionCloseEnabled() || socket->state() != QAbstractSocket::Connected) { + if (resendCurrent || reply->d_func()->connectionCloseEnabled() || socket->state() != QAbstractSocket::ConnectedState) { // move the pipelined ones back to the main queue requeueCurrentlyPipelinedRequests(); } else { @@ -586,7 +586,7 @@ void QHttpNetworkConnectionChannel::detectPipeliningSupport() // check for not having connection close && (!reply->d_func()->connectionCloseEnabled()) // check if it is still connected - && (socket->state() == QAbstractSocket::Connected) + && (socket->state() == QAbstractSocket::ConnectedState) ) { pipeliningSupported = QHttpNetworkConnectionChannel::PipeliningProbablySupported; } else { |