aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/Qt3DInput
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-03-19 11:07:41 +0100
committerAapo Keskimolo <aapo.keskimolo@qt.io>2019-03-20 17:28:16 +0000
commit38f0302cc99292c8d8cbadbf64918b723d2f7f8d (patch)
tree15dbf63b1fbc037149cbd06315b4786e0c072d06 /sources/pyside2/PySide2/Qt3DInput
parentac18465cc0f350405dc15806ee60c556ab5a6794 (diff)
PySide2: Fix Qt3D events' modifier enumerations for 5.14
The enumerations were changed in qt3d/a356d132b2a426ecd7edb7858245266433b3e855 to be proper flags. Annotate accordingly. Change-Id: I38b07d85a4edcb1951a9f3f8f88eaea9086d5d11 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/pyside2/PySide2/Qt3DInput')
-rw-r--r--sources/pyside2/PySide2/Qt3DInput/typesystem_3dinput.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside2/PySide2/Qt3DInput/typesystem_3dinput.xml b/sources/pyside2/PySide2/Qt3DInput/typesystem_3dinput.xml
index 6107f0b26..a5739d8db 100644
--- a/sources/pyside2/PySide2/Qt3DInput/typesystem_3dinput.xml
+++ b/sources/pyside2/PySide2/Qt3DInput/typesystem_3dinput.xml
@@ -73,11 +73,11 @@
</object-type>
<object-type name="QMouseEvent">
<enum-type name="Buttons"/>
- <enum-type name="Modifiers"/>
+ <enum-type name="Modifier" flags="Modifiers" since="5.14"/>
</object-type>
<object-type name="QWheelEvent">
<enum-type name="Buttons"/>
- <enum-type name="Modifiers"/>
+ <enum-type name="Modifier" flags="Modifiers" since="5.14"/>
</object-type>
<object-type name="QMouseHandler"/>
<!-- On windows this raise the following error: