From c90f0af043e3691d194f04e416e4d7b8a115437b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 24 Feb 2010 16:30:17 +0100 Subject: Remember "Never for this site" urls Also if I think this is NOT a proper solution.. BUG:227651 --- src/walletbar.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/walletbar.cpp') 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 #include @@ -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(); } -- cgit v1.2.1