--- a/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/HgLogBrowserDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -12,7 +12,7 @@ from PyQt4.QtCore import pyqtSlot, Qt, QDate, QProcess, QTimer, QRegExp, \ QSize, QPoint from PyQt4.QtGui import QDialog, QDialogButtonBox, QHeaderView, \ - QTreeWidgetItem, QApplication, QCursor, QWidget, QLineEdit, QColor, \ + QTreeWidgetItem, QApplication, QCursor, QLineEdit, QColor, \ QPixmap, QPainter, QPen, QBrush, QIcon from E5Gui.E5Application import e5App @@ -52,7 +52,7 @@ @param bundle name of a bundle file (string) @param parent parent widget (QWidget) """ - QDialog.__init__(self, parent) + super().__init__(parent) self.setupUi(self) if mode == "log": @@ -1192,4 +1192,4 @@ self.intercept = False evt.accept() return - QWidget.keyPressEvent(self, evt) + super().keyPressEvent(evt)