--- a/DataViews/CodeMetricsDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/DataViews/CodeMetricsDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -32,7 +32,7 @@ @param parent parent widget (QWidget) """ - QDialog.__init__(self, parent) + super().__init__(parent) self.setupUi(self) self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)