--- a/Project/NewDialogClassDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/Project/NewDialogClassDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -31,7 +31,7 @@ @param defaultPath default path for the new file (string) @param parent parent widget if the dialog (QWidget) """ - QDialog.__init__(self, parent) + super().__init__(parent) self.setupUi(self) self.okButton = self.buttonBox.button(QDialogButtonBox.Ok)