summaryrefslogtreecommitdiffstats
path: root/src/webengine/api/qquickwebengineview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webengine/api/qquickwebengineview.cpp')
-rw-r--r--src/webengine/api/qquickwebengineview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/webengine/api/qquickwebengineview.cpp b/src/webengine/api/qquickwebengineview.cpp
index bc58e252..8b2adab5 100644
--- a/src/webengine/api/qquickwebengineview.cpp
+++ b/src/webengine/api/qquickwebengineview.cpp
@@ -724,9 +724,12 @@ QQmlListProperty<QQuickWebEngineScript> QQuickWebEngineView::userScripts()
void QQuickWebEngineViewPrivate::setProfile(QQuickWebEngineProfile *profile)
{
+ Q_Q(QQuickWebEngineView);
+
if (profile == m_profile)
return;
m_profile = profile;
+ Q_EMIT q->profileChanged();
m_settings->setParentSettings(profile->settings());
if (adapter && adapter->browserContext() != browserContextAdapter()->browserContext()) {