summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_adapter.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-01-24 10:40:09 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-01-24 10:40:09 +0100
commit9c5f59d82120a0f25ab6ab9763a4166175c4508d (patch)
tree9601733e73536315e4848bdfc639ddb67b410611 /src/core/web_contents_adapter.cpp
parentd502c6e9d09803dd268100f8c53cf7bc563e3d1d (diff)
parentf2d938962fe9a029ec0baf37ca7f478051125780 (diff)
Merge remote-tracking branch 'origin/5.9' into 5.10
Conflicts: src/core/download_manager_delegate_qt.cpp Change-Id: Ica57e582a323c6bd014a64bb615dd9454e656548
Diffstat (limited to 'src/core/web_contents_adapter.cpp')
-rw-r--r--src/core/web_contents_adapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/web_contents_adapter.cpp b/src/core/web_contents_adapter.cpp
index 5850b07b5..e6a97b8bc 100644
--- a/src/core/web_contents_adapter.cpp
+++ b/src/core/web_contents_adapter.cpp
@@ -974,7 +974,7 @@ void WebContentsAdapter::download(const QUrl &url, const QString &suggestedFileN
if (!dlm)
return;
- dlmd->setDownloadType(BrowserContextAdapterClient::UserRequested);
+ dlmd->markNextDownloadAsUserRequested();
dlm->SetDelegate(dlmd);
net::NetworkTrafficAnnotationTag traffic_annotation =