diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/webenginewidgets/api/qwebengineprofile.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile.cpp b/src/webenginewidgets/api/qwebengineprofile.cpp index 737326c24..cf4e0f41c 100644 --- a/src/webenginewidgets/api/qwebengineprofile.cpp +++ b/src/webenginewidgets/api/qwebengineprofile.cpp @@ -308,8 +308,11 @@ bool QWebEngineProfile::isOffTheRecord() const Persistent data includes persistent cookies, HTML5 local storage, and visited links. - By default, this is below QStandardPaths::writableLocation() in a storage name specific - directory. + By default, this is below QStandardPaths::DataLocation in a QtWebengine/StorageName specific + subdirectory. + + \note Use QStandardPaths::writableLocation(QStandardPaths::DataLocation) + to obtain the QStandardPaths::DataLocation path. \sa setPersistentStoragePath(), storageName(), QStandardPaths::writableLocation() */ @@ -335,8 +338,11 @@ void QWebEngineProfile::setPersistentStoragePath(const QString &path) /*! Returns the path used for caches. - By default, this is below QStandardPaths::writableLocation() in a storage name specific - directory. + By default, this is below StandardPaths::CacheLocation in a QtWebengine/StorageName specific + subdirectory. + + \note Use QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + to obtain the QStandardPaths::CacheLocation path. \sa setCachePath(), storageName(), QStandardPaths::writableLocation() */ |