mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
AdBlock: Clean blocked objects right after page is loaded
- there is no reason to start 100ms timer
This commit is contained in:
parent
2fc20cbdfc
commit
fe2b3133e5
|
@ -237,7 +237,7 @@ void WebPage::finished()
|
|||
m_fileWatcher->removePaths(m_fileWatcher->files());
|
||||
}
|
||||
|
||||
QTimer::singleShot(100, this, SLOT(cleanBlockedObjects()));
|
||||
cleanBlockedObjects();
|
||||
}
|
||||
|
||||
void WebPage::watchedFileChanged(const QString &file)
|
||||
|
|
Loading…
Reference in New Issue
Block a user