mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
AdBlockManager: Temporarily remove url interceptor when updating matcher
This commit is contained in:
parent
42f70c5252
commit
7c07af64fe
|
@ -359,7 +359,9 @@ void AdBlockManager::updateMatcher()
|
||||||
{
|
{
|
||||||
QMutexLocker locker(&m_mutex);
|
QMutexLocker locker(&m_mutex);
|
||||||
|
|
||||||
|
mApp->networkManager()->removeUrlInterceptor(m_interceptor);
|
||||||
m_matcher->update();
|
m_matcher->update();
|
||||||
|
mApp->networkManager()->installUrlInterceptor(m_interceptor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AdBlockManager::updateAllSubscriptions()
|
void AdBlockManager::updateAllSubscriptions()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user