From 4a212d6c2ae82a1c5b7c9395e5a84dad8dd0b24c Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Thu, 20 Aug 2009 13:09:52 +0200 Subject: QNAM HTTP Code: Compile fix Build was broken when Qt3 support stuff was not enabled Reviewed-by: TrustMe --- src/network/access/qhttpnetworkconnectionchannel.cpp | 4 ++-- 1 file 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 { -- cgit v0.12