diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-06-23 13:11:58 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-06-29 09:17:28 +0200 |
commit | f341988f451c6ba1fc3b8da765c00d1d64eaff30 (patch) | |
tree | 407e1f7d121c19d20006ec7e143210a0aea7ef92 /src/core/profile_io_data_qt.h | |
parent | 1a26c0ace958c3604c8a751134429dd38168a1a1 (diff) |
Return valid path in Profile::GetPath() for incognito profiles
Parts of Chromium depends on it for temporary directories it creates.
This also changes the logic of depending on it being empty as indicating
an in memory profile, so it required a bit of cleaning up.
Note this does subtly change the return value of off-the-record profiles.
Task-number: QTBUG-62957
Change-Id: Iec6e24556128c515fce27803171a766b8a9d92e3
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/profile_io_data_qt.h')
-rw-r--r-- | src/core/profile_io_data_qt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/profile_io_data_qt.h b/src/core/profile_io_data_qt.h index b0567dead..00d2c392c 100644 --- a/src/core/profile_io_data_qt.h +++ b/src/core/profile_io_data_qt.h @@ -133,6 +133,8 @@ private: QString m_httpUserAgent; ProfileAdapter::HttpCacheType m_httpCacheType; QString m_httpCachePath; + QString m_storageName; + bool m_inMemoryOnly; #if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) QMutex m_mutex{QMutex::Recursive}; using QRecursiveMutex = QMutex; |