diff options
-rw-r--r-- | src/webpage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp index 14a96543..70fca7c5 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -191,6 +191,10 @@ void WebPage::manageNetworkErrors(QNetworkReply* reply) if( reply->error() == QNetworkReply::NoError ) return; + // don't bother on adblocked urls + if( reply->error() == QNetworkReply::ContentAccessDenied ) + return; + if( reply->url() != m_requestedUrl ) // prevent favicon loading return; |