From d56670f0224b092ac5269db76eb61de3d42bd381 Mon Sep 17 00:00:00 2001 From: Leena Miettinen <riitta-leena.miettinen@qt.io> Date: Thu, 22 Mar 2018 14:43:19 +0100 Subject: [PATCH] Doc: Fix argument name in QWebEngineCookieStore::setCookieFilter() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The argument "filter" was renamed to "filterCallback", but the docs were not updated accordingly. Change-Id: I8a45a0ea8074a854ac72df652921b3c895752f97 Reviewed-by: Michael Brüning <michael.bruning@qt.io> --- src/core/api/qwebenginecookiestore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/api/qwebenginecookiestore.cpp b/src/core/api/qwebenginecookiestore.cpp index 4ef512d62..adf0cc49e 100644 --- a/src/core/api/qwebenginecookiestore.cpp +++ b/src/core/api/qwebenginecookiestore.cpp @@ -335,7 +335,7 @@ void QWebEngineCookieStore::deleteAllCookies() \since 5.11 Installs a cookie filter that can prevent sites and resources from using cookies. - The \a filter must be a lambda or functor taking a FilterRequest structure. If the + The \a filterCallback must be a lambda or functor taking a FilterRequest structure. If the cookie access is to be accepted, the filter function should return \c true; otherwise it should return \c false. -- GitLab