diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-24 16:30:17 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-24 16:31:33 +0100 |
commit | c90f0af043e3691d194f04e416e4d7b8a115437b (patch) | |
tree | 9b557d5ac6d3b6967a827675c9950d38ef4c6cce /src/webtab.cpp | |
parent | Again and again.. :) (diff) | |
download | rekonq-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.cpp | 8 |
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(); |