--- a/UI/DiffDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/UI/DiffDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -199,7 +199,7 @@ """ Constructor """ - QWidget.__init__(self, parent) + super().__init__(parent) self.setupUi(self) self.file1Completer = E5FileCompleter(self.file1Edit) @@ -248,7 +248,7 @@ """ if filename: self.file1Edit.setText(filename) - QWidget.show(self) + super().show() def on_buttonBox_clicked(self, button): """ @@ -497,7 +497,7 @@ @param parent reference to the parent widget (QWidget) """ - QMainWindow.__init__(self, parent) + super().__init__(parent) self.cw = DiffDialog(self) self.cw.installEventFilter(self) size = self.cw.size()