summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2018-03-22 14:43:19 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2018-03-22 15:08:54 +0000
commitd56670f0224b092ac5269db76eb61de3d42bd381 (patch)
tree2b0e4951b460896e8d2ed42b9f580f352631a58c
parent364a6c091bcc12c5e08f0616d6fc29b5650e964c (diff)
Doc: Fix argument name in QWebEngineCookieStore::setCookieFilter()
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>
-rw-r--r--src/core/api/qwebenginecookiestore.cpp2
1 files changed, 1 insertions, 1 deletions
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.