eric6/E5Gui/E5AnimatedLabel.py

changeset 8218
7c09585bd960
parent 7923
91e843545d9a
--- a/eric6/E5Gui/E5AnimatedLabel.py	Sat Apr 10 18:31:17 2021 +0200
+++ b/eric6/E5Gui/E5AnimatedLabel.py	Sat Apr 10 18:38:27 2021 +0200
@@ -29,7 +29,7 @@
         @keyparam interval interval in milliseconds between animation frames
         @type int
         """
-        super(E5AnimatedLabel, self).__init__(parent)
+        super().__init__(parent)
         
         self.__timer = QTimer(self)
         self.__timer.setInterval(interval)
@@ -75,7 +75,7 @@
         """
         if self.__animationFileLoaded:
             self.__currentFrame = (self.__currentFrame + 1) % self.__frames
-            super(E5AnimatedLabel, self).setPixmap(self.__pixmap.copy(
+            super().setPixmap(self.__pixmap.copy(
                 self.__currentFrame * self.__pixmapHeight,
                 0,
                 self.__pixmapHeight,
@@ -177,4 +177,4 @@
         @type QPixmap
         """
         self.stop()
-        super(E5AnimatedLabel, self).setPixmap(pixmap)
+        super().setPixmap(pixmap)

eric ide

mercurial