Commit 00d7607
committed
qt: use persisted profile, not off-the-record
When we upgraded from Qt 5.15 to Qt 6, the default profile seemed to
have changed from being stored on disk to off-the-record:
- https://doc.qt.io/qt-5/qwebengineprofile.html#defaultProfile
- https://doc.qt.io/qt-6.5/qwebengineprofile.html#defaultProfile
This made the third party widgets (MoonPay, Pocket, ...) lose their
cookies/localstorage upon app restart.
This commit switches our profile to be stored on disk once more. We
choose a new storage name "BitBoxApp" (not "Default" which was used
previously) to not run into potential conflicts or very old
user sessions that get unexpectedly resumed.1 parent 2c87545 commit 00d7607
2 files changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | | - | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
353 | 354 | | |
354 | 355 | | |
355 | 356 | | |
356 | | - | |
| 357 | + | |
| 358 | + | |
357 | 359 | | |
358 | 360 | | |
359 | 361 | | |
| |||
459 | 461 | | |
460 | 462 | | |
461 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
462 | 470 | | |
463 | 471 | | |
464 | 472 | | |
| |||
0 commit comments