summaryrefslogtreecommitdiff
path: root/src/adblock/adblockmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/adblock/adblockmanager.cpp')
-rw-r--r--src/adblock/adblockmanager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/adblock/adblockmanager.cpp b/src/adblock/adblockmanager.cpp
index fe4d028a..62f8930e 100644
--- a/src/adblock/adblockmanager.cpp
+++ b/src/adblock/adblockmanager.cpp
@@ -40,6 +40,7 @@
// Qt Includes
#include <QUrl>
+#include <QTimer>
#include <QWebElement>
#include <QNetworkReply>
#include <QNetworkRequest>
@@ -66,7 +67,8 @@ AdBlockManager::AdBlockManager(QObject *parent)
, _isAdblockEnabled(false)
, _isHideAdsEnabled(false)
{
- loadSettings();
+ // NOTE: launch this with 1 sec delay to get sure we can start up fast...
+ QTimer::singleShot(1000, this, SLOT(loadSettings()));
}