diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2010-11-23 16:53:25 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@nokia.com> | 2010-11-23 16:53:25 (GMT) |
commit | b91221ebe4acc5f59793b1070dd134ed56eb91fb (patch) | |
tree | 112ede4ae54a7aacffe4caffb6978a73693fe107 /src/network/access | |
parent | ad1e82323225e996720136e8b2d669166b8d8441 (diff) | |
download | Qt-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.cpp | 2 |
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; } |