diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-10-04 16:38:36 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-10-05 17:02:34 +0200 |
| commit | 292a8e2426b14f98f4863dc58b5bf363ca97e748 (patch) | |
| tree | 49447957883237e6881c568b889b6f5a45ce42b1 /sources/pyside6/doc/tutorials/basictutorial | |
| parent | 2bdb0154c9409169f1b1d143cb328b741fe09568 (diff) | |
PySide6: Fix QObject.property() for QFlag types
QObject::property() returns a QVariant for whose type a shiboken
converter is retrieved by name (QVariant::typeName()). This fails for
QFlags types since QVariant::typeName() returns the fully expanded
name QFlag<Enum>. Register the flags converter under that name, too,
to fix this.
Pick-to: 6.2
Fixes: PYSIDE-1673
Change-Id: I23e83da34b82196d76b78fa44f67647da65737c8
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/doc/tutorials/basictutorial')
0 files changed, 0 insertions, 0 deletions
