--- a/src/eric7/WebBrowser/FeaturePermissions/FeaturePermissionBar.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/WebBrowser/FeaturePermissions/FeaturePermissionBar.py Tue Oct 18 16:06:21 2022 +0200 @@ -13,9 +13,9 @@ from PyQt6.QtWidgets import QLabel, QHBoxLayout, QPushButton from PyQt6.QtWebEngineCore import QWebEnginePage -from EricWidgets.EricAnimatedWidget import EricAnimatedWidget +from eric7.EricWidgets.EricAnimatedWidget import EricAnimatedWidget -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache class FeaturePermissionBar(EricAnimatedWidget): @@ -100,7 +100,7 @@ self.__rememberButton.setCheckable(True) self.__allowButton = QPushButton(self.tr("Allow"), self) self.__denyButton = QPushButton(self.tr("Deny"), self) - self.__discardButton = QPushButton(UI.PixmapCache.getIcon("close"), "", self) + self.__discardButton = QPushButton(EricPixmapCache.getIcon("close"), "", self) self.__allowButton.clicked.connect(self.__permissionGranted) self.__denyButton.clicked.connect(self.__permissionDenied) self.__discardButton.clicked.connect(self.__permissionUnknown) @@ -111,7 +111,7 @@ with contextlib.suppress(KeyError): self.__iconLabel.setPixmap( - UI.PixmapCache.getPixmap( + EricPixmapCache.getPixmap( self.__permissionFeatureIconNames[self.__feature] ) )