diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-02-13 22:13:05 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-03-13 10:24:41 +0100 |
commit | ac7c15f3ed41a51b830a79ab5c78e0580e42e798 (patch) | |
tree | fb25ede8736fda823765edd99f14a427dbff97a7 /src/webtab.cpp | |
parent | Update adblock dialog (diff) | |
download | rekonq-ac7c15f3ed41a51b830a79ab5c78e0580e42e798.tar.xz |
Add adblock icon to inform users that some contents was hidden
This is a patch by Andrea Di Menna, changed a bit to allow element
blocked/hided listing (you'll see it in next commit)
REVIEW:102761
REVIEWED-BY: adjam
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r-- | src/webtab.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp index 57f46ea4..8db44dd8 100644 --- a/src/webtab.cpp +++ b/src/webtab.cpp @@ -347,3 +347,9 @@ void WebTab::showMessageBar() connect(msgBar, SIGNAL(accepted()), rApp->sessionManager(), SLOT(restoreCrashedSession())); } + + +bool WebTab::hasAdBlockedElements() +{ + return page()->hasAdBlockedElements(); +} |