diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-03 13:53:15 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-09-04 11:01:18 (GMT) |
commit | 74cb4b7ca71e64d08fab7d4e00a15e29fa339f5b (patch) | |
tree | 4b4cec2d3621ddbac90de665027b5a3921e17069 /src/network/socket/qabstractsocket.cpp | |
parent | d839acb05635673c9f9d26f1b7b7a4c31440565e (diff) | |
download | Qt-74cb4b7ca71e64d08fab7d4e00a15e29fa339f5b.zip Qt-74cb4b7ca71e64d08fab7d4e00a15e29fa339f5b.tar.gz Qt-74cb4b7ca71e64d08fab7d4e00a15e29fa339f5b.tar.bz2 |
QAbstractSocket: Missing initializations
Diffstat (limited to 'src/network/socket/qabstractsocket.cpp')
-rw-r--r-- | src/network/socket/qabstractsocket.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/socket/qabstractsocket.cpp b/src/network/socket/qabstractsocket.cpp index b85a9d2..98740ba 100644 --- a/src/network/socket/qabstractsocket.cpp +++ b/src/network/socket/qabstractsocket.cpp @@ -453,6 +453,9 @@ QAbstractSocketPrivate::QAbstractSocketPrivate() peerPort(0), socketEngine(0), cachedSocketDescriptor(-1), +#ifdef Q_OS_LINUX + addToBytesAvailable(0), +#endif readBufferMaxSize(0), readBuffer(QABSTRACTSOCKET_BUFFERSIZE), writeBuffer(QABSTRACTSOCKET_BUFFERSIZE), @@ -461,6 +464,7 @@ QAbstractSocketPrivate::QAbstractSocketPrivate() connectTimer(0), connectTimeElapsed(0), hostLookupId(-1), + socketType(QAbstractSocket::UnknownSocketType), state(QAbstractSocket::UnconnectedState), socketError(QAbstractSocket::UnknownSocketError) { |