--- a/PyUnit/UnittestDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/PyUnit/UnittestDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -51,7 +51,7 @@ @param parent parent widget of this dialog (QWidget) @param name name of this dialog (string) """ - QWidget.__init__(self, parent) + super().__init__(parent) if name: self.setObjectName(name) self.setupUi(self) @@ -580,7 +580,7 @@ @param prog filename of the program to open @param parent reference to the parent widget (QWidget) """ - QMainWindow.__init__(self, parent) + super().__init__(parent) self.cw = UnittestDialog(prog=prog, parent=self) self.cw.installEventFilter(self) size = self.cw.size()