src/eric7/WebBrowser/AutoScroll/AutoScroller.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/WebBrowser/AutoScroll/AutoScroller.py
--- a/src/eric7/WebBrowser/AutoScroll/AutoScroller.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/WebBrowser/AutoScroll/AutoScroller.py	Tue Oct 18 16:06:21 2022 +0200
@@ -17,8 +17,8 @@
 
 from .FrameScroller import FrameScroller
 
-import Preferences
-import UI.PixmapCache
+from eric7 import Preferences
+from eric7.EricGui import EricPixmapCache
 
 
 class AutoScroller(QObject):
@@ -214,11 +214,11 @@
             return False
 
         if vertical and horizontal:
-            self.__indicator.setPixmap(UI.PixmapCache.getPixmap("scrollAll"))
+            self.__indicator.setPixmap(EricPixmapCache.getPixmap("scrollAll"))
         elif vertical:
-            self.__indicator.setPixmap(UI.PixmapCache.getPixmap("scrollVertical"))
+            self.__indicator.setPixmap(EricPixmapCache.getPixmap("scrollVertical"))
         else:
-            self.__indicator.setPixmap(UI.PixmapCache.getPixmap("scrollHorizontal"))
+            self.__indicator.setPixmap(EricPixmapCache.getPixmap("scrollHorizontal"))
 
         self.__view = view
         p = QPoint(

eric ide

mercurial