Remove parent argument from MainWindow's constructor

This commit is contained in:
Wiktor Zykubek 2023-07-16 15:48:30 +02:00
parent 2df7bdc5dc
commit 79b270794e
No known key found for this signature in database
GPG Key ID: 0DAA9DC01449FCA2

View File

@ -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)