summaryrefslogtreecommitdiffstats
path: root/src/core/profile_adapter.h
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2018-10-29 13:03:18 +0100
committerJüri Valdmann <juri.valdmann@qt.io>2018-10-31 23:24:55 +0000
commitbc1529f56b8c86259c7f952b0ea9b439f5cc8d53 (patch)
tree0bb3a0d05c5a286700002aa23de619815357269e /src/core/profile_adapter.h
parent0c7376edee43718fa868f9fdbe0a9419ba4a636a (diff)
Use QWebEngineUrlSchemeHandler for qrc
Delete qrc protocol handler and use custom scheme protocol handler instead. Fixes: QTBUG-71215 Change-Id: I8aa390552c80b591a92f52b8a388e5a707d28f9e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/profile_adapter.h')
-rw-r--r--src/core/profile_adapter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/profile_adapter.h b/src/core/profile_adapter.h
index de7b86f19..18e15954b 100644
--- a/src/core/profile_adapter.h
+++ b/src/core/profile_adapter.h
@@ -63,6 +63,7 @@
#include "api/qwebenginecookiestore.h"
#include "api/qwebengineurlrequestinterceptor.h"
#include "api/qwebengineurlschemehandler.h"
+#include "net/qrc_url_scheme_handler.h"
QT_FORWARD_DECLARE_CLASS(QObject)
@@ -219,6 +220,7 @@ private:
QList<ProfileAdapterClient*> m_clients;
int m_httpCacheMaxSize;
int m_pageRequestInterceptors;
+ QrcUrlSchemeHandler m_qrcHandler;
Q_DISABLE_COPY(ProfileAdapter)
};