summaryrefslogtreecommitdiffstats
path: root/src/core/api
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2016-03-29 14:16:09 +0200
committerKai Koehne <kai.koehne@theqtcompany.com>2016-03-29 14:08:10 +0000
commitf66c8894268e25d58f7a405914f81595ce6ac8c1 (patch)
treea1aaaf8e9e98ba893bb299e9d1e36b423b80662c /src/core/api
parentb6dc12bbb5059441363dcea3bcae94d17da482ec (diff)
Doc: Fix documentation about cookie stores
Remove misleading "singleton, if one has been set" from the accessor's documentation. Also link to the accessor's from the class documentation, and remove mentioning of cookie store as something that can be accessed for an individual page. Finally, mark QWebEngineProfile::cookieStore as new in Qt 5.6. Change-Id: Ia20ca0ef45a9a15de0052f7ceb7f59d454c70fdc Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'src/core/api')
-rw-r--r--src/core/api/qwebenginecookiestore.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/api/qwebenginecookiestore.cpp b/src/core/api/qwebenginecookiestore.cpp
index 5220073f3..df537a787 100644
--- a/src/core/api/qwebenginecookiestore.cpp
+++ b/src/core/api/qwebenginecookiestore.cpp
@@ -188,6 +188,9 @@ void QWebEngineCookieStorePrivate::onCookieChanged(const QNetworkCookie &cookie,
to get notified about the success of the operation.
The signal handlers for removal and addition should not be used to execute heavy tasks,
because they might block the IO thread in case of a blocking connection.
+
+ Use QWebEngineProfile::cookieStore() and QQuickWebEngineProfile::cookieStore()
+ to access the cookie store object for a specific profile.
*/
/*!