diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-06-15 11:19:32 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-07-06 13:53:03 +0000 |
commit | a83fd13f62673ce439bdfea55238f9d8ef8676ce (patch) | |
tree | c0d776725235ca6c2d51b709d186db89618b7d86 /src/webengine/api | |
parent | 153b0d9acf3531d28d790fc98dbaf9ad24a3fae5 (diff) |
Finalize change from BrowserContext to Profile
Changes 6c319ce and af313cb splited BrowserContextQt
into ProfileQt and ProfileIODataQt. Finalize the
change and rename leftover browserContext references
to follow the initial change.
Change-Id: I845142b1edb67ec4b94439be1e6cfc841dd3f55c
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/webengine/api')
-rw-r--r-- | src/webengine/api/qquickwebengineview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/api/qquickwebengineview.cpp b/src/webengine/api/qquickwebengineview.cpp index 8d5d843bf..7e5897157 100644 --- a/src/webengine/api/qquickwebengineview.cpp +++ b/src/webengine/api/qquickwebengineview.cpp @@ -913,7 +913,7 @@ void QQuickWebEngineViewPrivate::setProfile(QQuickWebEngineProfile *profile) Q_EMIT q->profileChanged(); m_settings->setParentSettings(profile->settings()); - if (adapter->browserContext() != browserContextAdapter()->browserContext()) { + if (adapter->profile() != browserContextAdapter()->profile()) { // When the profile changes we need to create a new WebContentAdapter and reload the active URL. bool wasInitialized = adapter->isInitialized(); QUrl activeUrl = adapter->activeUrl(); |