diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-04-03 09:50:57 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-04-04 10:28:20 +0000 |
commit | ff8ef1c4ac2a5257f7e39abcb34c652cf274c799 (patch) | |
tree | d374754eb35088945696c28c44d828676bddb230 | |
parent | 17d2263212932312ecafaac5554d414ce0f6254f (diff) |
Fix crash browsing https://outlook.com
A crash occurs when calling
QWebEngineRegisterProtocolHandlerRequest.origin() from a signal
handler of
QWebEngineRegisterProtocolHandlerRequest(QWebEngineRegisterProtocolHandlerRequest).
QWebEngineRegisterProtocolHandlerRequest needs to be a value type for
this to work.
Fixes: PYSIDE-2663
Change-Id: Iab8c7cb5822455a35c5759137db20b064cb468cc
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 23595e35b5ba8919b38362c627a4d6e86be6b0d3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit a14a27af81d077dd0042012e1bb6585899802167)
-rw-r--r-- | sources/pyside6/PySide6/QtWebEngineCore/typesystem_webenginecore.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtWebEngineCore/typesystem_webenginecore.xml b/sources/pyside6/PySide6/QtWebEngineCore/typesystem_webenginecore.xml index 29414e1dc..8287c6d4c 100644 --- a/sources/pyside6/PySide6/QtWebEngineCore/typesystem_webenginecore.xml +++ b/sources/pyside6/PySide6/QtWebEngineCore/typesystem_webenginecore.xml @@ -127,7 +127,7 @@ <enum-type name="LoadStatus"/> </value-type> - <object-type name="QWebEngineRegisterProtocolHandlerRequest"/> + <value-type name="QWebEngineRegisterProtocolHandlerRequest"/> <value-type name="QWebEngineFindTextResult"/> |