diff options
Diffstat (limited to 'examples/widgets/threads/thread_signals.py')
-rw-r--r-- | examples/widgets/threads/thread_signals.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/threads/thread_signals.py b/examples/widgets/threads/thread_signals.py index 6a3b0ee08..60daac198 100644 --- a/examples/widgets/threads/thread_signals.py +++ b/examples/widgets/threads/thread_signals.py @@ -47,7 +47,7 @@ from PySide6.QtWidgets import QApplication, QPushButton, QVBoxLayout, QWidget # Create a basic window with a layout and a button class MainForm(QWidget): def __init__(self): - QWidget.__init__(self) + super().__init__() self.setWindowTitle("My Form") self.layout = QVBoxLayout() self.button = QPushButton("Click me!") |