mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
AdBlock: Reload global user stylesheet after disabling/enabling AdBlock
It was needed to restart the browser to completely disable / enable AdBlock.
This commit is contained in:
parent
2d02892a5e
commit
6dcf8c598a
@ -74,6 +74,7 @@ void AdBlockManager::setEnabled(bool enabled)
|
|||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
load();
|
load();
|
||||||
|
mApp->reloadUserStyleSheet();
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<AdBlockSubscription*> AdBlockManager::subscriptions() const
|
QList<AdBlockSubscription*> AdBlockManager::subscriptions() const
|
||||||
|
Loading…
Reference in New Issue
Block a user