diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-01-07 04:04:44 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-01-07 04:04:44 +0100 |
commit | 2f18effe7273fb3f2b18efd4f83cc85515f22f4f (patch) | |
tree | 1a0994559906e688590d69f622dd20963c5ca759 /src | |
parent | Removed forced url sanization (diff) | |
download | rekonq-2f18effe7273fb3f2b18efd4f83cc85515f22f4f.tar.xz |
No more error messages on adblocked pages
Diffstat (limited to 'src')
-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; |