aboutsummaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/markdowneditor/resources
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-04-29 08:21:20 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-05-06 10:57:26 +0200
commit28d04cae204881392ddc0826a570d05ba82c5ee0 (patch)
tree1086e21a2afe528d70b2694894fe1f2bdf1b1e8c /examples/webenginewidgets/markdowneditor/resources
parent9fcc3066412e23e92eb05d30dcad858f8ca1cd90 (diff)
shiboken6: Make multiple inheritance cast check less restrictive
The old code would not allow to downcast if a special cast function exists somewhere in the class hierarchy (as is the case for example for QWidget inheriting QObject and QPaintDevice). Make the check more fine-grained by actually checking whether the base class is a direct, single line inheritance base class of the type passed in. This makes the mechanism work for widgets. The corresponding test can then be relaxed. Task-number: PYSIDE-868 Change-Id: Id81fd9c3080e42009fc84e06a9bab1c8856f2c0c Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/webenginewidgets/markdowneditor/resources')
0 files changed, 0 insertions, 0 deletions