eric6/E5Gui/E5PassivePopup.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8268
6b8128e0c9d1
--- a/eric6/E5Gui/E5PassivePopup.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/E5Gui/E5PassivePopup.py	Sat Apr 10 18:38:27 2021 +0200
@@ -30,7 +30,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super(E5PassivePopup, self).__init__(None)
+        super().__init__(None)
         
         self.__popupStyle = DEFAULT_POPUP_TYPE
         self.__msgView = None
@@ -75,7 +75,7 @@
         @param visible flag indicating the visibility status (boolean)
         """
         if not visible:
-            super(E5PassivePopup, self).setVisible(visible)
+            super().setVisible(visible)
             return
         
         if self.size() != self.sizeHint():
@@ -85,7 +85,7 @@
             self.__positionSelf()
         else:
             self.move(self.__fixedPosition)
-        super(E5PassivePopup, self).setVisible(True)
+        super().setVisible(True)
         
         delay = self.__hideDelay
         if delay < 0:
@@ -101,7 +101,7 @@
         """
         if p is not None:
             self.__fixedPosition = p
-        super(E5PassivePopup, self).show()
+        super().show()
     
     def setTimeout(self, delay):
         """

eric ide

mercurial