summaryrefslogtreecommitdiff
path: root/src/walletbar.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/walletbar.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/walletbar.cpp')
-rw-r--r--src/walletbar.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/walletbar.cpp b/src/walletbar.cpp
index c5d705e0..5b911585 100644
--- a/src/walletbar.cpp
+++ b/src/walletbar.cpp
@@ -28,6 +28,9 @@
#include "walletbar.h"
#include "walletbar.moc"
+// Auto Includes
+#include "rekonq.h"
+
// KDE Includes
#include <klocalizedstring.h>
#include <KIcon>
@@ -85,7 +88,11 @@ void WalletBar::rememberData()
void WalletBar::neverRememberData()
{
- // TODO: store site url (to remember never bother about)
+ // add url to the blacklist
+ QStringList list = ReKonfig::walletBlackList();
+ list << m_url.toString();
+ ReKonfig::setWalletBlackList( list );
+
notNowRememberData();
}