summaryrefslogtreecommitdiffstats
path: root/src/core/net/url_request_notification.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-11-01 16:26:27 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-11-01 16:26:27 +0100
commit06a04f4acbde2f6ae966c450014102120b887d6a (patch)
treefade383f40bdfef720b6a7c38dc36e3533f4cdcb /src/core/net/url_request_notification.cpp
parent6c736295cf1ead52f7f4ca99138d678573dab03c (diff)
parent4cf520d67f0619330bbf53a743818924d476d95f (diff)
Merge remote-tracking branch 'origin/5.14' into 5.15
Diffstat (limited to 'src/core/net/url_request_notification.cpp')
-rw-r--r--src/core/net/url_request_notification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/net/url_request_notification.cpp b/src/core/net/url_request_notification.cpp
index e37ad35bc..9d309e314 100644
--- a/src/core/net/url_request_notification.cpp
+++ b/src/core/net/url_request_notification.cpp
@@ -107,7 +107,7 @@ void URLRequestNotification::notify()
if (webContents) {
- if (m_profileAdapter) {
+ if (m_profileAdapter && m_profileAdapter->requestInterceptor()) {
QWebEngineUrlRequestInterceptor* interceptor = m_profileAdapter->requestInterceptor();
if (!interceptor->property("deprecated").toBool())
interceptor->interceptRequest(m_requestInfo);