summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-01-07 04:04:44 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-01-07 04:04:44 +0100
commit2f18effe7273fb3f2b18efd4f83cc85515f22f4f (patch)
tree1a0994559906e688590d69f622dd20963c5ca759 /src
parentRemoved forced url sanization (diff)
downloadrekonq-2f18effe7273fb3f2b18efd4f83cc85515f22f4f.tar.xz
No more error messages on adblocked pages
Diffstat (limited to 'src')
-rw-r--r--src/webpage.cpp4
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;