summaryrefslogtreecommitdiff
path: root/src/webtab.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-24 16:30:17 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-24 16:31:33 +0100
commitc90f0af043e3691d194f04e416e4d7b8a115437b (patch)
tree9b557d5ac6d3b6967a827675c9950d38ef4c6cce /src/webtab.cpp
parentAgain and again.. :) (diff)
downloadrekonq-c90f0af043e3691d194f04e416e4d7b8a115437b.tar.xz
Remember "Never for this site" urls
Also if I think this is NOT a proper solution.. BUG:227651
Diffstat (limited to 'src/webtab.cpp')
-rw-r--r--src/webtab.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/webtab.cpp b/src/webtab.cpp
index 645c9606..b4759995 100644
--- a/src/webtab.cpp
+++ b/src/webtab.cpp
@@ -141,7 +141,13 @@ void WebTab::loadFinished(bool)
void WebTab::createWalletBar(const QString &key, const QUrl &url)
-{
+{
+ // check if the url is in the wallet blacklist
+ QString urlString = url.toString();
+ QStringList blackList = ReKonfig::walletBlackList();
+ if( blackList.contains( urlString ) )
+ return;
+
KWebWallet *wallet = page()->wallet();
QWidget *messageBar = layout()->itemAt(0)->widget();