mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-23 14:11:44 +01:00
Adblock stuff work.
This commit is contained in:
parent
48891635fc
commit
4e168373b6
@ -181,8 +181,8 @@ void AdBlockIcon::toggleCustomFilter() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const QString filter = action->data().toString();
|
const QString filter = action->data().toString();
|
||||||
AdBlockManager* manager = AdBlockManager::instance();
|
AdBlockManager *manager = AdBlockManager::instance();
|
||||||
AdBlockCustomList* custom_list = manager->customList();
|
AdBlockCustomList *custom_list = manager->customList();
|
||||||
|
|
||||||
if (custom_list->containsFilter(filter)) {
|
if (custom_list->containsFilter(filter)) {
|
||||||
custom_list->removeFilter(filter);
|
custom_list->removeFilter(filter);
|
||||||
|
Loading…
Reference in New Issue
Block a user