Plugins/VcsPlugins/vcsSubversion/SvnDialog.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1509
c0b5e693b0eb
--- a/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py	Sun Jun 19 17:50:39 2011 +0200
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnDialog.py	Sun Jun 19 19:36:27 2011 +0200
@@ -34,7 +34,7 @@
         @param text text to be shown by the label (string)
         @param parent parent widget (QWidget)
         """
-        QDialog.__init__(self, parent)
+        super().__init__(parent)
         self.setupUi(self)
         
         self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
@@ -234,7 +234,7 @@
             self.intercept = False
             evt.accept()
             return
-        QDialog.keyPressEvent(self, evt)
+        super().keyPressEvent(evt)
         
     def hasAddOrDelete(self):
         """

eric ide

mercurial