diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-11-08 13:02:28 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-11-08 13:07:45 (GMT) |
commit | 2da8d40ac2c7de25d811bac0befaef577a696065 (patch) | |
tree | d5d58a4efbe3df3003f9d8d0d831f8e879a99b84 /src/network/access/qnetworkaccessftpbackend.cpp | |
parent | b78ec7dcd8b13a76703baefff1731d3f345392cc (diff) | |
download | Qt-2da8d40ac2c7de25d811bac0befaef577a696065.zip Qt-2da8d40ac2c7de25d811bac0befaef577a696065.tar.gz Qt-2da8d40ac2c7de25d811bac0befaef577a696065.tar.bz2 |
QNAM: Remove dead waitForDownstreamReadyRead() code
Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/network/access/qnetworkaccessftpbackend.cpp')
-rw-r--r-- | src/network/access/qnetworkaccessftpbackend.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/network/access/qnetworkaccessftpbackend.cpp b/src/network/access/qnetworkaccessftpbackend.cpp index 1a59011..d1a18d3 100644 --- a/src/network/access/qnetworkaccessftpbackend.cpp +++ b/src/network/access/qnetworkaccessftpbackend.cpp @@ -182,23 +182,6 @@ void QNetworkAccessFtpBackend::closeDownstreamChannel() #endif } -bool QNetworkAccessFtpBackend::waitForDownstreamReadyRead(int ms) -{ - if (!ftp) - return false; - - if (ftp->bytesAvailable()) { - ftpReadyRead(); - return true; - } - - if (ms == 0) - return false; - - qCritical("QNetworkAccess: FTP backend does not support waitForReadyRead()"); - return false; -} - void QNetworkAccessFtpBackend::downstreamReadyWrite() { if (state == Transferring && ftp && ftp->bytesAvailable()) |