1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 17:52:10 +02: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:
David Rosca 2014-09-15 23:43:47 +02:00
parent 2d02892a5e
commit 6dcf8c598a

View File

@ -74,6 +74,7 @@ void AdBlockManager::setEnabled(bool enabled)
settings.endGroup();
load();
mApp->reloadUserStyleSheet();
}
QList<AdBlockSubscription*> AdBlockManager::subscriptions() const