diff options
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_844.py')
-rw-r--r-- | sources/pyside6/tests/QtWidgets/bug_844.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_844.py b/sources/pyside6/tests/QtWidgets/bug_844.py index 879c08850..e6167dfc6 100644 --- a/sources/pyside6/tests/QtWidgets/bug_844.py +++ b/sources/pyside6/tests/QtWidgets/bug_844.py @@ -47,6 +47,7 @@ class QtKeyPressListener(QObject): # This used to crash here due to a misbehaviour of type discovery! return QObject.eventFilter(self, obj, event) + app = QApplication([]) key_listener = QtKeyPressListener(app) w = QLabel('Hello') |