summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2010-11-23 16:53:25 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2010-11-23 16:53:25 (GMT)
commitb91221ebe4acc5f59793b1070dd134ed56eb91fb (patch)
tree112ede4ae54a7aacffe4caffb6978a73693fe107 /src/network/access
parentad1e82323225e996720136e8b2d669166b8d8441 (diff)
downloadQt-b91221ebe4acc5f59793b1070dd134ed56eb91fb.zip
Qt-b91221ebe4acc5f59793b1070dd134ed56eb91fb.tar.gz
Qt-b91221ebe4acc5f59793b1070dd134ed56eb91fb.tar.bz2
HTTP backend: fix build without Qt3 support
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkaccesshttpbackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qnetworkaccesshttpbackend.cpp b/src/network/access/qnetworkaccesshttpbackend.cpp
index 070111d..9df5d7b 100644
--- a/src/network/access/qnetworkaccesshttpbackend.cpp
+++ b/src/network/access/qnetworkaccesshttpbackend.cpp
@@ -1157,7 +1157,7 @@ bool QNetworkAccessHttpBackend::processRequestSynchronously()
bool waitResult = channel->socket->waitForConnected(timeout);
timeoutTimer.start();
- if (!waitResult || channel->socket->state() != QAbstractSocket::Connected) {
+ if (!waitResult || channel->socket->state() != QAbstractSocket::ConnectedState) {
error(QNetworkReply::UnknownNetworkError, QLatin1String("could not connect"));
return false;
}