diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-11-01 16:26:27 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-11-01 16:26:27 +0100 |
commit | 06a04f4acbde2f6ae966c450014102120b887d6a (patch) | |
tree | fade383f40bdfef720b6a7c38dc36e3533f4cdcb /src/core/net/url_request_notification.cpp | |
parent | 6c736295cf1ead52f7f4ca99138d678573dab03c (diff) | |
parent | 4cf520d67f0619330bbf53a743818924d476d95f (diff) |
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: Ib09a8e88efb06413bb8f39e30f1360ce70b04b24
Diffstat (limited to 'src/core/net/url_request_notification.cpp')
-rw-r--r-- | src/core/net/url_request_notification.cpp | 2 |
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); |