From ba8d31f5513b486add0ffc84836a4062bedf234a Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 8 Feb 2018 11:23:21 +0100 Subject: Allow disabling cache of off-the-record profiles Change-Id: Ib319f46465e9f330ef5f2c7a5b2f6a3d50c33c00 Reviewed-by: Michal Klocek --- src/webengine/api/qquickwebengineprofile.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/webengine/api/qquickwebengineprofile.cpp') diff --git a/src/webengine/api/qquickwebengineprofile.cpp b/src/webengine/api/qquickwebengineprofile.cpp index 728f0b4a4..17c9738fb 100644 --- a/src/webengine/api/qquickwebengineprofile.cpp +++ b/src/webengine/api/qquickwebengineprofile.cpp @@ -98,9 +98,10 @@ ASSERT_ENUMS_MATCH(QQuickWebEngineDownloadItem::MimeHtmlSaveFormat, QtWebEngineC 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 \c off-the-record + is not set. Falls back to \c MemoryHttpCache if \c off-the-record is set. \value NoCache Disable both in-memory and disk caching. (Added in Qt 5.7) */ -- cgit v1.2.3