--- a/Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/Plugins/DocumentationPlugins/Ericapi/EricapiConfigDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -36,7 +36,7 @@ @param parms parameters to set in the dialog @param parent parent widget of this dialog """ - QDialog.__init__(self, parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) @@ -260,4 +260,4 @@ self.parameters['languages'].append(itm.text()) # call the accept slot of the base class - QDialog.accept(self) + super().accept()