aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/qdialog_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-04-12 10:20:34 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-04-12 11:59:01 +0200
commit152ec44d1c0ac3da91bc6018f8c039e599f60df3 (patch)
tree2d276c39e05afd0a829cd2e8322d314c5dcb9e52 /sources/pyside6/tests/QtWidgets/qdialog_test.py
parent4a04afc95d348c8f26919a2f084ee80fa404e7d9 (diff)
Fix potential undefined behavior in type discovery of class hierarchies
Use the %B-placeholder for base classes always, changing the generated expressions from: reinterpret_cast<QMouseEvent *>(cptr)->type() == QEvent::MouseMove to reinterpret_cast<QEvent *>(cptr)->type() == QEvent::MouseMove Remove the copyable-attributes since object-type is not copyable anyways. Pick-to: 6.7 Task-number: PYSIDE-2675 Change-Id: I89092b0afd6901e0f8cf5144eb1185ab1d80a0d5 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/qdialog_test.py')
0 files changed, 0 insertions, 0 deletions