src/eric7/WebBrowser/SafeBrowsing/SafeBrowsingInfoWidget.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/WebBrowser/SafeBrowsing/SafeBrowsingInfoWidget.py
--- a/src/eric7/WebBrowser/SafeBrowsing/SafeBrowsingInfoWidget.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/WebBrowser/SafeBrowsing/SafeBrowsingInfoWidget.py	Tue Oct 18 16:06:21 2022 +0200
@@ -10,7 +10,7 @@
 from PyQt6.QtCore import Qt, QPoint
 from PyQt6.QtWidgets import QMenu, QLabel, QHBoxLayout, QSizePolicy
 
-import UI.PixmapCache
+from eric7.EricGui import EricPixmapCache
 
 
 class SafeBrowsingInfoWidget(QMenu):
@@ -34,7 +34,7 @@
         layout = QHBoxLayout(self)
 
         iconLabel = QLabel(self)
-        iconLabel.setPixmap(UI.PixmapCache.getPixmap("safeBrowsing48"))
+        iconLabel.setPixmap(EricPixmapCache.getPixmap("safeBrowsing48"))
         layout.addWidget(iconLabel, 0, Qt.AlignmentFlag.AlignTop)
 
         infoLabel = QLabel(self)

eric ide

mercurial