diff options
author | Kirill Burtsev <kirill.burtsev@qt.io> | 2021-07-13 12:21:50 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-07-21 19:15:32 +0000 |
commit | b9d99df607648953e4d0a97a04eaabdbe0d10c3b (patch) | |
tree | d7003c0fb4b4208e98972fc56977ee5e7bca6f1d /src/core/api/qwebenginedownloadrequest.cpp | |
parent | f30b288b17c875647c9cb219ebd25c2ed320e105 (diff) | |
download | qtwebengine-b9d99df607648953e4d0a97a04eaabdbe0d10c3b.tar.gz |
Remove duplicated 'downloadProgress' in favor of separate signals
Change-Id: Ib825d63c89e591e740b206f43c3eadbf32319daa
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit abd050e9806123cbc6288e7d33ed01ceb2921766)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/api/qwebenginedownloadrequest.cpp')
-rw-r--r-- | src/core/api/qwebenginedownloadrequest.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/core/api/qwebenginedownloadrequest.cpp b/src/core/api/qwebenginedownloadrequest.cpp index a55015f67..6efb9ce03 100644 --- a/src/core/api/qwebenginedownloadrequest.cpp +++ b/src/core/api/qwebenginedownloadrequest.cpp @@ -205,7 +205,6 @@ void QWebEngineDownloadRequestPrivate::update(const ProfileAdapterClient::Downlo totalBytes = info.totalBytes; Q_EMIT q->totalBytesChanged(); } - Q_EMIT q->downloadProgress(receivedBytes, totalBytes); } if (info.done) @@ -352,19 +351,6 @@ quint32 QWebEngineDownloadRequest::id() const */ /*! - \fn void QWebEngineDownloadRequest::downloadProgress(qint64 bytesReceived, qint64 bytesTotal) - - This signal is emitted to indicate the progress of the download request. - - The \a bytesReceived parameter indicates the number of bytes received, while - \a bytesTotal indicates the total number of bytes expected to be downloaded. - If the size of the file to be downloaded is not known, \c bytesTotal will be - 0. - - \sa totalBytes(), receivedBytes() -*/ - -/*! \enum QWebEngineDownloadRequest::DownloadState This enum describes the state of the download: |