diff options
-rw-r--r-- | PySide/QtGui/typesystem_gui_common.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml index f15020db9..6f5086513 100644 --- a/PySide/QtGui/typesystem_gui_common.xml +++ b/PySide/QtGui/typesystem_gui_common.xml @@ -2800,7 +2800,7 @@ <object-type name="QInputEvent" copyable="false"> <modify-function signature="modifiers()const" access="non-final"/> </object-type> - <object-type name="QKeyEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::KeyPress || %1->type() == QEvent::KeyRelease"> + <object-type name="QKeyEvent" copyable= "false" polymorphic-id-expression="%1->type() == QEvent::KeyPress || %1->type() == QEvent::KeyRelease || %1->type() == QEvent::ShortcutOverride"> <add-function signature="operator!=(QKeySequence::StandardKey)"> <inject-code class="target"> %PYARG_0 = %CONVERTTOPYTHON[bool](!(&%CPPSELF == %1)); |