aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/urlinterceptor.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-26 19:51:52 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-26 19:51:52 +0200
commit5825451aef1a762bfaeff2d37c09b3790deee7b1 (patch)
tree75feca7f6483e25d9bd920645e6044d3bb22966b /src/webengine/urlinterceptor.h
parentUpdate pkgbuild (diff)
downloadsmolbote-5825451aef1a762bfaeff2d37c09b3790deee7b1.tar.xz
Socket messages are json formatted
Diffstat (limited to 'src/webengine/urlinterceptor.h')
-rw-r--r--src/webengine/urlinterceptor.h4
1 files changed, 1 insertions, 3 deletions
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 <QMutex>
#include <QWebEngineUrlRequestInterceptor>
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<QString, HostRule> rules;
- QMutex rulesLock;
};
QHash<QString, UrlRequestInterceptor::HostRule> parse(const QString &filename);