aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/wheel_files.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-11-08 12:59:10 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-11-08 15:22:51 +0100
commit8ed5cf2c5cccfc06347498e58104a17d65e88379 (patch)
tree29d1feed9c0a16d129177e07f56b5e9a985f2328 /build_scripts/wheel_files.py
parentc4aa90c3e40370a8c6ad825c11f3944f09fd5b59 (diff)
Fix examples/spatialaudio/audiopanning to run
The enum Loops provides constants ( Infinite = -1, Once = 1) to be passed to functions taking int. Change the type to IntEnum to enable this. Fixes: self._sound.setLoops(QSpatialSound.Infinite) TypeError: 'PySide6.QtSpatialAudio.QSpatialSound.setLoops' called with wrong argument types: PySide6.QtSpatialAudio.QSpatialSound.setLoops(Loops) Pick-to: 6.8 Change-Id: Ife4d7a6197220f13a2d59547d8a6b3a503eaff55 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/wheel_files.py')
0 files changed, 0 insertions, 0 deletions