diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-03-06 11:16:04 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-03-13 10:24:42 +0100 |
commit | 6f072c5dfcac294a12283d4ba93e22d50df9c660 (patch) | |
tree | 76b4e27b03bf9976a66cd5bc02462851b9e659f4 /src/adblock/adblockmanager.cpp | |
parent | Clean up adblock manager code and fix unblock feature (diff) | |
download | rekonq-6f072c5dfcac294a12283d4ba93e22d50df9c660.tar.xz |
Let user change his mind enabling block/unblock
Diffstat (limited to 'src/adblock/adblockmanager.cpp')
-rw-r--r-- | src/adblock/adblockmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp index 39040767..b5739144 100644 --- a/src/adblock/adblockmanager.cpp +++ b/src/adblock/adblockmanager.cpp @@ -425,6 +425,11 @@ void AdBlockManager::showBlockedItemDialog() dialog->setMainWidget(&widget); dialog->exec(); + Q_FOREACH(const QString &r, widget.rulesToAdd()) + { + addCustomRule(r); + } + if (widget.pageNeedsReload()) emit reloadCurrentPage(); |