diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-08 16:13:34 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-03-29 14:52:16 +0200 |
commit | d9ae75b3234392aebb714c1046a471386a63deed (patch) | |
tree | 5ea50ef1a82447ca85032028ca0c935265f0b4ae /src/webenginequick/api | |
parent | db59a3096b4f44aaacabdc5b455fbc0a3a6b8fb1 (diff) | |
download | qtwebengine-d9ae75b3234392aebb714c1046a471386a63deed.tar.gz |
Adaptations for Chrome 98
Change-Id: I607604f85a111a69da77ca949dddf3399b9721b3
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/webenginequick/api')
-rw-r--r-- | src/webenginequick/api/qquickwebengineprofile.cpp | 5 | ||||
-rw-r--r-- | src/webenginequick/api/qquickwebengineprofile_p.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/webenginequick/api/qquickwebengineprofile.cpp b/src/webenginequick/api/qquickwebengineprofile.cpp index ec7365064..3dfb862e4 100644 --- a/src/webenginequick/api/qquickwebengineprofile.cpp +++ b/src/webenginequick/api/qquickwebengineprofile.cpp @@ -205,6 +205,11 @@ QQuickWebEngineSettings *QQuickWebEngineProfilePrivate::settings() const return m_settings.data(); } +QtWebEngineCore::WebEngineSettings *QQuickWebEngineProfilePrivate::coreSettings() const +{ + return QtWebEngineCore::WebEngineSettings::get(m_settings->d_ptr.data()); +} + void QQuickWebEngineProfilePrivate::cancelDownload(quint32 downloadId) { if (m_profileAdapter) diff --git a/src/webenginequick/api/qquickwebengineprofile_p.h b/src/webenginequick/api/qquickwebengineprofile_p.h index 4e3ba7ff6..a03c0e05f 100644 --- a/src/webenginequick/api/qquickwebengineprofile_p.h +++ b/src/webenginequick/api/qquickwebengineprofile_p.h @@ -78,6 +78,7 @@ public: QtWebEngineCore::ProfileAdapter* profileAdapter() const; QQuickWebEngineSettings *settings() const; + QtWebEngineCore::WebEngineSettings *coreSettings() const override; void cancelDownload(quint32 downloadId); void downloadDestroyed(quint32 downloadId); |