diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-11-28 12:00:08 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-02-05 13:56:10 +0000 |
commit | 4ef5831a398280cc26cbf359dcbb9878e77ab7fb (patch) | |
tree | adb8b7ac7a42b8130b178d1001a5c008c430d325 /src/webengine/api/qquickwebenginesingleton.cpp | |
parent | faec509a21b4700dbf271c4dcbb3a993f1c4042f (diff) |
Add settings to WebEngineProfiles
This patch adds settings to profiles so common settings might be shared
among all pages in a profile. The former global settings are now replaced
by the settings of the default profile.
Change-Id: I544420e07beeb52ef29b2360bc7929402650cd07
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/webengine/api/qquickwebenginesingleton.cpp')
-rw-r--r-- | src/webengine/api/qquickwebenginesingleton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/api/qquickwebenginesingleton.cpp b/src/webengine/api/qquickwebenginesingleton.cpp index 280f5b913..4f1bd32f2 100644 --- a/src/webengine/api/qquickwebenginesingleton.cpp +++ b/src/webengine/api/qquickwebenginesingleton.cpp @@ -43,7 +43,7 @@ QT_BEGIN_NAMESPACE QQuickWebEngineSettings *QQuickWebEngineSingleton::settings() const { - return QQuickWebEngineSettings::globalSettings(); + return defaultProfile()->settings(); } QQuickWebEngineProfile *QQuickWebEngineSingleton::defaultProfile() const |