summaryrefslogtreecommitdiffstats
path: root/src/core/net/url_request_notification.cpp
diff options
context:
space:
mode:
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);