eric6/Preferences/ConfigurationDialog.py

changeset 8218
7c09585bd960
parent 8205
4a0f1f896341
child 8243
cc717c2ae956
--- a/eric6/Preferences/ConfigurationDialog.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/Preferences/ConfigurationDialog.py	Sat Apr 10 18:38:27 2021 +0200
@@ -46,7 +46,7 @@
         @param pageName name of the configuration page (string)
         @param iconFile file name of the icon to be shown (string)
         """
-        super(ConfigurationPageItem, self).__init__(parent, [text])
+        super().__init__(parent, [text])
         self.setIcon(0, UI.PixmapCache.getIcon(iconFile))
         
         self.__pageName = pageName
@@ -95,7 +95,7 @@
         @param expandedEntries list of entries to be shown expanded
             (list of strings)
         """
-        super(ConfigurationWidget, self).__init__(parent)
+        super().__init__(parent)
         
         if displayMode not in (
             ConfigurationWidget.DefaultMode,
@@ -944,7 +944,7 @@
         @param expandedEntries list of entries to be shown expanded
             (list of strings)
         """
-        super(ConfigurationDialog, self).__init__(parent)
+        super().__init__(parent)
         if name:
             self.setObjectName(name)
         self.setModal(modal)
@@ -1017,7 +1017,7 @@
         """
         Public method to accept the dialog.
         """
-        super(ConfigurationDialog, self).accept()
+        super().accept()
 
 
 class ConfigurationWindow(E5MainWindow):
@@ -1030,7 +1030,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super(ConfigurationWindow, self).__init__(parent)
+        super().__init__(parent)
         
         self.cw = ConfigurationWidget(self, fromEric=False)
         size = self.cw.size()

eric ide

mercurial