--- a/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/HgCommitDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -32,7 +32,7 @@ @param vcs reference to the vcs object @param parent parent widget (QWidget) """ - QWidget.__init__(self, parent, Qt.WindowFlags(Qt.Window)) + super().__init__(parent, Qt.WindowFlags(Qt.Window)) self.setupUi(self) def showEvent(self, evt):