From 38a426f21c0d6e47bdc05e5541b79c48cf967a0c Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 25 Sep 2015 13:27:58 +0200 Subject: Do not require to subclass/install QWebEngineCookieStoreClient The class has only setters and getters, except for the virtual acceptCookie method. By replacing this method with a setCookieFilter callback we can avoid the need of users to subclass the client. Change-Id: Id78c01fc103b8d9cc267594527239b598e8975f1 Reviewed-by: Allan Sandfeld Jensen --- src/webengine/api/qquickwebengineprofile_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webengine/api/qquickwebengineprofile_p.h') diff --git a/src/webengine/api/qquickwebengineprofile_p.h b/src/webengine/api/qquickwebengineprofile_p.h index af5762032..2cd43caad 100644 --- a/src/webengine/api/qquickwebengineprofile_p.h +++ b/src/webengine/api/qquickwebengineprofile_p.h @@ -122,7 +122,7 @@ public: static QQuickWebEngineProfile *defaultProfile(); - Q_REVISION(1) Q_INVOKABLE void setCookieStoreClient(QWebEngineCookieStoreClient* client); + Q_REVISION(1) Q_INVOKABLE QWebEngineCookieStoreClient *cookieStoreClient() const; signals: void storageNameChanged(); -- cgit v1.2.1