aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/urlinterceptor.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-02-28 10:18:08 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-02-28 10:18:08 +0100
commit7f6c9b22d1016aa0dba709495fabf41397676039 (patch)
tree35898077b84be953c0645262aaa9470802b5267b /src/webengine/urlinterceptor.h
parentFixed crash when closing the first tab (diff)
downloadsmolbote-7f6c9b22d1016aa0dba709495fabf41397676039.tar.xz
Blocker rewrites
Some code commenting Moved Blocker files for src/blocker Keyboard shortcut for Blocker dialog
Diffstat (limited to 'src/webengine/urlinterceptor.h')
-rw-r--r--src/webengine/urlinterceptor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webengine/urlinterceptor.h b/src/webengine/urlinterceptor.h
index 0f9fe65..00fe666 100644
--- a/src/webengine/urlinterceptor.h
+++ b/src/webengine/urlinterceptor.h
@@ -22,7 +22,7 @@
#define ADBLOCKINTERCEPTOR_H
#include <QWebEngineUrlRequestInterceptor>
-#include "blockersubscription.h"
+#include "blocker/blockermanager.h"
class UrlRequestInterceptor : public QWebEngineUrlRequestInterceptor
{
@@ -31,14 +31,14 @@ public:
explicit UrlRequestInterceptor(QObject *parent = 0);
void interceptRequest(QWebEngineUrlRequestInfo &info);
- void setSubscription(BlockerSubscription *subscription);
+ void setSubscription(BlockerManager *subscription);
signals:
public slots:
private:
- BlockerSubscription *m_sub;
+ BlockerManager *m_blocker;
};
#endif // ADBLOCKINTERCEPTOR_H