mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-23 06:07:39 +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();
|
||||
AdBlockManager* manager = AdBlockManager::instance();
|
||||
AdBlockCustomList* custom_list = manager->customList();
|
||||
AdBlockManager *manager = AdBlockManager::instance();
|
||||
AdBlockCustomList *custom_list = manager->customList();
|
||||
|
||||
if (custom_list->containsFilter(filter)) {
|
||||
custom_list->removeFilter(filter);
|
||||
|
Loading…
Reference in New Issue
Block a user