summaryrefslogtreecommitdiff
path: root/src/core/api/qwebenginedownloadrequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/api/qwebenginedownloadrequest.cpp')
-rw-r--r--src/core/api/qwebenginedownloadrequest.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/api/qwebenginedownloadrequest.cpp b/src/core/api/qwebenginedownloadrequest.cpp
index bf4994a64..58f02ee4f 100644
--- a/src/core/api/qwebenginedownloadrequest.cpp
+++ b/src/core/api/qwebenginedownloadrequest.cpp
@@ -170,7 +170,7 @@ QWebEngineDownloadRequestPrivate::QWebEngineDownloadRequestPrivate(QtWebEngineCo
, totalBytes(-1)
, receivedBytes(0)
, isSavePageDownload(false)
- , page(nullptr)
+ , m_adapterClient(nullptr)
{
}
@@ -657,7 +657,9 @@ QString QWebEngineDownloadRequest::interruptReasonString() const
QObject *QWebEngineDownloadRequest::page() const
{
Q_D(const QWebEngineDownloadRequest);
- return d->page;
+ //TODO: come back here when page is in core
+ Q_UNREACHABLE();
+ return nullptr;
}
QWebEngineDownloadRequest::QWebEngineDownloadRequest(QWebEngineDownloadRequestPrivate *p, QObject *parent)