diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-02-08 11:23:21 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-02-15 16:24:21 +0000 |
commit | ba8d31f5513b486add0ffc84836a4062bedf234a (patch) | |
tree | 62524240c5c284be2b1c1ca824604b1bdeb49573 /src/webenginewidgets/api/qwebengineprofile.cpp | |
parent | 7decc1a4716fbc8315318e3e8635f7aec0be58d6 (diff) |
Allow disabling cache of off-the-record profiles
Change-Id: Ib319f46465e9f330ef5f2c7a5b2f6a3d50c33c00
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/webenginewidgets/api/qwebengineprofile.cpp')
-rw-r--r-- | src/webenginewidgets/api/qwebengineprofile.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile.cpp b/src/webenginewidgets/api/qwebengineprofile.cpp index cf4e0f41c..a619a10c3 100644 --- a/src/webenginewidgets/api/qwebengineprofile.cpp +++ b/src/webenginewidgets/api/qwebengineprofile.cpp @@ -109,9 +109,11 @@ using QtWebEngineCore::BrowserContextAdapter; This enum describes the HTTP cache type: - \value MemoryHttpCache Use an in-memory cache. This is the only setting possible if - \c off-the-record is set or no cache path is available. - \value DiskHttpCache Use a disk cache. This is the default. + \value MemoryHttpCache Use an in-memory cache. This is the default if + \c off-the-record is set. + \value DiskHttpCache Use a disk cache. This is the default if the profile + is not \c off-the-record. If set on an \c off-the-record profile will instead + set \c MemoryHttpCache. \value NoCache Disable both in-memory and disk caching. (Added in Qt 5.7) */ |