summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Petersson <martin.petersson@nokia.com>2011-02-18 10:19:49 (GMT)
committerMartin Petersson <martin.petersson@nokia.com>2011-02-18 10:19:49 (GMT)
commitbd960fb92164cbf5b673ed7590601381f16b5fa4 (patch)
tree08615f4182cf8e585058eb5886c5a795e6bcb0b3
parentc6d5ca21bc56b102d3edda21a7658b28cefe8e23 (diff)
downloadQt-bd960fb92164cbf5b673ed7590601381f16b5fa4.zip
Qt-bd960fb92164cbf5b673ed7590601381f16b5fa4.tar.gz
Qt-bd960fb92164cbf5b673ed7590601381f16b5fa4.tar.bz2
QAbstractSocket: compile without QT3Support
Reviewed-by: Markus Goetz
-rw-r--r--src/network/socket/qabstractsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/socket/qabstractsocket.cpp b/src/network/socket/qabstractsocket.cpp
index 9c82db8..7c0dc11 100644
--- a/src/network/socket/qabstractsocket.cpp
+++ b/src/network/socket/qabstractsocket.cpp
@@ -2624,7 +2624,7 @@ void QAbstractSocket::setReadBufferSize(qint64 size)
// ensure that the read notification is enabled if we've now got
// room in the read buffer
// but only if we're not inside canReadNotification -- that will take care on its own
- if ((size == 0 || d->readBuffer.size() < size) && d->state == Connected) // Do not change the notifier unless we are connected.
+ if ((size == 0 || d->readBuffer.size() < size) && d->state == QAbstractSocket::ConnectedState) // Do not change the notifier unless we are connected.
d->socketEngine->setReadNotificationEnabled(true);
}
}