diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-07-22 15:08:08 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-07-23 11:37:29 +0200 |
commit | fbf3b3121f3517a2a0e0595635f2430e46323e9b (patch) | |
tree | 858de8b599c50d4b3486e5732e264c6000979c50 /src/network/ssl/qsslsocket.cpp | |
parent | e85c531c5111bf8305d5789d90d151204952ddb1 (diff) |
QSslSocket::flush - purge the function marked for removal in Qt6
QAbstractSocket::flush stopped being virtual and, instead, QAbstractSocketPrivate::flush
is now virtual. So the code in QSslSocket is essentially a duplicate.
Change-Id: Iebb33c8490268270b90a662ab64b1ae47c4cbac7
Reviewed-by: Alex Trotsenko <alex1973tr@gmail.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket.cpp')
-rw-r--r-- | src/network/ssl/qsslsocket.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/network/ssl/qsslsocket.cpp b/src/network/ssl/qsslsocket.cpp index ac928f10c8..e294a45157 100644 --- a/src/network/ssl/qsslsocket.cpp +++ b/src/network/ssl/qsslsocket.cpp @@ -921,25 +921,6 @@ bool QSslSocket::atEnd() const } /*! - This function writes as much as possible from the internal write buffer to - the underlying network socket, without blocking. If any data was written, - this function returns \c true; otherwise false is returned. - - Call this function if you need QSslSocket to start sending buffered data - immediately. The number of bytes successfully written depends on the - operating system. In most cases, you do not need to call this function, - because QAbstractSocket will start sending data automatically once control - goes back to the event loop. In the absence of an event loop, call - waitForBytesWritten() instead. - - \sa write(), waitForBytesWritten() -*/ -bool QSslSocket::flush() -{ - return d_func()->flush(); -} - -/*! \since 4.4 Sets the size of QSslSocket's internal read buffer to be \a size bytes. |