summaryrefslogtreecommitdiffstats
path: root/examples/webengine
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2018-07-17 16:43:14 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2018-07-20 12:41:01 +0000
commit67e6b9e679856975161e85ee8011fac94b59bb22 (patch)
tree60055bc8340822986efe3c57ce55292cd265c5c8 /examples/webengine
parente96f036ac82fd280f1938eaa7a5a8f15fd844325 (diff)
Update user dir associated to BrowserContext when chaging profile's path
Otherwise, setting a WebEngineProfile to non-off-the-record would assert. Therefore, now it is safe to set the quicknanobrowser's defaultProfile to non-off-the-record. Task-number: QTBUG-69416 Change-Id: I5ca2230e12e457dd9963e386708f2394ae4c8cea Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'examples/webengine')
-rw-r--r--examples/webengine/quicknanobrowser/ApplicationRoot.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/webengine/quicknanobrowser/ApplicationRoot.qml b/examples/webengine/quicknanobrowser/ApplicationRoot.qml
index 014b556a1..67b686541 100644
--- a/examples/webengine/quicknanobrowser/ApplicationRoot.qml
+++ b/examples/webengine/quicknanobrowser/ApplicationRoot.qml
@@ -56,6 +56,7 @@ QtObject {
property QtObject defaultProfile: WebEngineProfile {
storageName: "Profile"
+ offTheRecord: false
}
property QtObject otrProfile: WebEngineProfile {