src/eric7/EricWidgets/EricAnimatedLabel.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/EricWidgets/EricAnimatedLabel.py
--- a/src/eric7/EricWidgets/EricAnimatedLabel.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/EricWidgets/EricAnimatedLabel.py	Tue Oct 18 16:06:21 2022 +0200
@@ -11,7 +11,7 @@
 from PyQt6.QtGui import QPixmap
 from PyQt6.QtWidgets import QLabel
 
-import UI.PixmapCache
+from eric7.EricGui import EricPixmapCache
 
 
 class EricAnimatedLabel(QLabel):
@@ -54,7 +54,7 @@
         """
         self.__animationFile = animationFile
 
-        pixmap = UI.PixmapCache.getPixmap(animationFile)
+        pixmap = EricPixmapCache.getPixmap(animationFile)
         if not pixmap.isNull():
             self.__pixmap = pixmap
             self.__pixmapHeight = pixmap.height()

eric ide

mercurial