diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-07-26 10:44:06 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-07-27 10:59:22 (GMT) |
commit | 9b06a827cbb3967e7476ca0888f8bf3b171424f2 (patch) | |
tree | 212dc6d5fae0bb999e5f548a92b32d913ffbb123 /src/network/socket/qabstractsocket_p.h | |
parent | 5888ac21097dd718fc81d05987213391b923ea6d (diff) | |
download | Qt-9b06a827cbb3967e7476ca0888f8bf3b171424f2.zip Qt-9b06a827cbb3967e7476ca0888f8bf3b171424f2.tar.gz Qt-9b06a827cbb3967e7476ca0888f8bf3b171424f2.tar.bz2 |
QAbstractSocket: Remove old workaround
This old workaround hurts performance on Linux but is only needed
on old kernels and in corner cases (using a local socket with
QAbstractSocket). Removing it.
Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/network/socket/qabstractsocket_p.h')
-rw-r--r-- | src/network/socket/qabstractsocket_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/network/socket/qabstractsocket_p.h b/src/network/socket/qabstractsocket_p.h index b51c301..6c333d3 100644 --- a/src/network/socket/qabstractsocket_p.h +++ b/src/network/socket/qabstractsocket_p.h @@ -138,9 +138,6 @@ public: void setupSocketNotifiers(); bool readFromSocket(); -#ifdef Q_OS_LINUX - qint64 addToBytesAvailable; -#endif qint64 readBufferMaxSize; QRingBuffer readBuffer; QRingBuffer writeBuffer; |