Adblock stuff work.
This commit is contained in:
parent
48891635fc
commit
4e168373b6
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue