--- a/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py Sun Jun 19 17:50:39 2011 +0200 +++ b/Plugins/VcsPlugins/vcsSubversion/SvnRepoBrowserDialog.py Sun Jun 19 19:36:27 2011 +0200 @@ -9,7 +9,7 @@ import os -from PyQt4.QtGui import QWidget, QCursor, QHeaderView, QLineEdit, QDialog, \ +from PyQt4.QtGui import QCursor, QHeaderView, QLineEdit, QDialog, \ QApplication, QDialogButtonBox, QTreeWidgetItem from PyQt4.QtCore import QTimer, QProcess, QRegExp, Qt, pyqtSlot @@ -34,7 +34,7 @@ @param mode mode of the dialog (string, "browse" or "select") @param parent parent widget (QWidget) """ - QDialog.__init__(self, parent) + super().__init__(parent) self.setupUi(self) self.repoTree.headerItem().setText(self.repoTree.columnCount(), "") @@ -318,7 +318,7 @@ if self.focusWidget() == self.urlCombo: return - QDialog.accept(self) + super().accept() def getSelectedUrl(self): """ @@ -455,4 +455,4 @@ self.intercept = False evt.accept() return - QWidget.keyPressEvent(self, evt) + super().keyPressEvent(evt)