From 5825451aef1a762bfaeff2d37c09b3790deee7b1 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 26 Jun 2018 19:51:52 +0200 Subject: Socket messages are json formatted --- src/webengine/urlinterceptor.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/webengine/urlinterceptor.h') diff --git a/src/webengine/urlinterceptor.h b/src/webengine/urlinterceptor.h index 951eb52..2a5c50d 100644 --- a/src/webengine/urlinterceptor.h +++ b/src/webengine/urlinterceptor.h @@ -9,7 +9,6 @@ #ifndef URLREQUESTINTERCEPTOR_H #define URLREQUESTINTERCEPTOR_H -#include #include class UrlRequestInterceptor : public QWebEngineUrlRequestInterceptor @@ -21,13 +20,12 @@ public: }; explicit UrlRequestInterceptor(const QString &path, QObject *parent = nullptr); - ~UrlRequestInterceptor() override; + ~UrlRequestInterceptor() = default; void interceptRequest(QWebEngineUrlRequestInfo &info) override; private: QHash rules; - QMutex rulesLock; }; QHash parse(const QString &filename); -- cgit v1.2.1