From 79b270794ee4fabac5c100e0bdca2f829e69d0bd Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Sun, 16 Jul 2023 15:48:30 +0200 Subject: [PATCH] Remove parent argument from MainWindow's constructor --- openfm_qt/mainwindow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openfm_qt/mainwindow.py b/openfm_qt/mainwindow.py index 1779402..f56962a 100644 --- a/openfm_qt/mainwindow.py +++ b/openfm_qt/mainwindow.py @@ -15,9 +15,9 @@ from __feature__ import snake_case, true_property # isort: skip class MainWindow(QMainWindow): """MainWindow Class.""" - def __init__(self, parent=None): + def __init__(self): """Initialize UI, audio player and handlers.""" - super().__init__(parent) + super().__init__() self.ui = Ui_MainWindow() self.ui.setupUi(self) volume_icon = self.style().standard_icon(QStyle.SP_MediaVolume)