diff options
Diffstat (limited to 'examples/widgets/richtext/orderform/orderform.py')
-rw-r--r-- | examples/widgets/richtext/orderform/orderform.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/richtext/orderform/orderform.py b/examples/widgets/richtext/orderform/orderform.py index e8be602c2..323be365d 100644 --- a/examples/widgets/richtext/orderform/orderform.py +++ b/examples/widgets/richtext/orderform/orderform.py @@ -57,7 +57,7 @@ from PySide6.QtPrintSupport import QAbstractPrintDialog, QPrintDialog, QPrinter class MainWindow(QMainWindow): def __init__(self): - super(MainWindow, self).__init__() + super().__init__() file_menu = QMenu("&File", self) new_action = file_menu.addAction("&New...") @@ -219,7 +219,7 @@ class MainWindow(QMainWindow): class DetailsDialog(QDialog): def __init__(self, title, parent): - super(DetailsDialog, self).__init__(parent) + super().__init__(parent) self.items = ("T-shirt", "Badge", "Reference book", "Coffee cup") |