diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-04-25 09:25:13 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2025-05-09 06:54:12 +0200 |
commit | f81fb9ee887d088e8988d743bb7cac4f781fff82 (patch) | |
tree | e2d1989c78bd4914f9f4c83c853113e34a980ec4 /sources/pyside6/tests/QtStateMachine | |
parent | 7cd0aee8e7b7d49ace2e28f204ea469bc9e60271 (diff) |
Remove the default-superclass specification QGraphicsItem for
QGraphicsObject since it causes the type discovery to directly cast
from QGraphicsObject* to QGraphicsItem*. This crashes
since QGraphicsObject inherits from QObject as first base class.
The intention of the class attribute was to ensure that any
QGraphicsObject class is stored as a QGraphicsItem. To preserve this,
hardcode it in QVariant_resolveMetaType().
Pick-to: 6.9
Fixes: PYSIDE-3069
Task-number: PYSIDE-86
Task-number: PYSIDE-1887
Change-Id: I3704988f105b118b1e4ef8d078b68c01ba89386c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtStateMachine')
0 files changed, 0 insertions, 0 deletions