Empty interceptor.
This commit is contained in:
parent
ff286f3d62
commit
8e3e6d1b62
3 changed files with 19 additions and 2 deletions
|
@ -223,9 +223,9 @@ endif(${CMAKE_CXX_COMPILER_ID} MATCHES "GNU")
|
||||||
# Setup libraries.
|
# Setup libraries.
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
# On Unices, enable D-Bus support.
|
# On Unices, enable D-Bus support.
|
||||||
find_package(Qt5 REQUIRED DBus Sql WebEngineWidgets Widgets Xml XmlPatterns Network LinguistTools PrintSupport)
|
find_package(Qt5 REQUIRED DBus Sql WebEngineCore WebEngineWidgets Widgets Xml XmlPatterns Network LinguistTools PrintSupport)
|
||||||
else(UNIX)
|
else(UNIX)
|
||||||
find_package(Qt5 REQUIRED Sql WebEngineWidgets Widgets Xml XmlPatterns Network LinguistTools PrintSupport)
|
find_package(Qt5 REQUIRED Sql WebEngineCore WebEngineWidgets Widgets Xml XmlPatterns Network LinguistTools PrintSupport)
|
||||||
endif(UNIX)
|
endif(UNIX)
|
||||||
|
|
||||||
# Configure QStringBuilder behavior.
|
# Configure QStringBuilder behavior.
|
||||||
|
@ -411,6 +411,7 @@ if(UNIX)
|
||||||
Sql
|
Sql
|
||||||
Network
|
Network
|
||||||
Xml
|
Xml
|
||||||
|
WebEngineCore
|
||||||
WebEngineWidgets
|
WebEngineWidgets
|
||||||
PrintSupport
|
PrintSupport
|
||||||
)
|
)
|
||||||
|
@ -422,6 +423,7 @@ else(UNIX)
|
||||||
Sql
|
Sql
|
||||||
Network
|
Network
|
||||||
Xml
|
Xml
|
||||||
|
WebEngineCore
|
||||||
WebEngineWidgets
|
WebEngineWidgets
|
||||||
PrintSupport
|
PrintSupport
|
||||||
)
|
)
|
||||||
|
|
5
src/network-web/adblock/requestinterceptor.cpp
Normal file
5
src/network-web/adblock/requestinterceptor.cpp
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#include "network-web/adblock/requestinterceptor.h"
|
||||||
|
|
||||||
|
|
||||||
|
RequestInterceptor::RequestInterceptor(QObject *p) : QWebEngineUrlRequestInterceptor(p) {
|
||||||
|
}
|
10
src/network-web/adblock/requestinterceptor.h
Normal file
10
src/network-web/adblock/requestinterceptor.h
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#ifndef REQUESTINTERCEPTOR_H
|
||||||
|
#define REQUESTINTERCEPTOR_H
|
||||||
|
|
||||||
|
|
||||||
|
class RequestInterceptor : public QWebEngineUrlRequestInterceptor {
|
||||||
|
public:
|
||||||
|
RequestInterceptor();
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // REQUESTINTERCEPTOR_H
|
Loading…
Add table
Reference in a new issue