1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 02:02:10 +02:00

AdBlock: Clean blocked objects right after page is loaded

- there is no reason to start 100ms timer
This commit is contained in:
nowrep 2012-07-15 23:18:08 +02:00
parent 2fc20cbdfc
commit fe2b3133e5

View File

@ -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)