summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/api/qwebenginedownloadrequest.cpp14
-rw-r--r--src/core/api/qwebenginedownloadrequest.h2
2 files changed, 0 insertions, 16 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:
diff --git a/src/core/api/qwebenginedownloadrequest.h b/src/core/api/qwebenginedownloadrequest.h
index 76f472b62..35b303737 100644
--- a/src/core/api/qwebenginedownloadrequest.h
+++ b/src/core/api/qwebenginedownloadrequest.h
@@ -150,8 +150,6 @@ public Q_SLOTS:
Q_SIGNALS:
void stateChanged(QWebEngineDownloadRequest::DownloadState state);
- //TODO: fix it for qml
- void downloadProgress(qint64 bytesReceived, qint64 bytesTotal);
void savePageFormatChanged();
void receivedBytesChanged();
void totalBytesChanged();