diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.py --- a/src/eric7/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.py Tue Oct 18 16:06:21 2022 +0200 @@ -11,7 +11,7 @@ from PyQt6.QtWidgets import QDialog, QTreeWidgetItem, QTreeWidget, QAbstractItemView from PyQt6.QtWebEngineCore import QWebEnginePage -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache from .Ui_FeaturePermissionsDialog import Ui_FeaturePermissionsDialog @@ -50,7 +50,7 @@ self.notifList.headerItem().setText(1, self.tr("Permission")) self.tabWidget.addTab( self.notifList, - UI.PixmapCache.getIcon("notification"), + EricPixmapCache.getIcon("notification"), self.tr("Notifications"), ) @@ -65,7 +65,7 @@ self.geoList.headerItem().setText(0, self.tr("Host")) self.geoList.headerItem().setText(1, self.tr("Permission")) self.tabWidget.addTab( - self.geoList, UI.PixmapCache.getIcon("geolocation"), self.tr("Geolocation") + self.geoList, EricPixmapCache.getIcon("geolocation"), self.tr("Geolocation") ) self.micList = QTreeWidget() @@ -79,7 +79,7 @@ self.micList.headerItem().setText(0, self.tr("Host")) self.micList.headerItem().setText(1, self.tr("Permission")) self.tabWidget.addTab( - self.micList, UI.PixmapCache.getIcon("audiocapture"), self.tr("Microphone") + self.micList, EricPixmapCache.getIcon("audiocapture"), self.tr("Microphone") ) self.camList = QTreeWidget() @@ -93,7 +93,7 @@ self.camList.headerItem().setText(0, self.tr("Host")) self.camList.headerItem().setText(1, self.tr("Permission")) self.tabWidget.addTab( - self.camList, UI.PixmapCache.getIcon("camera"), self.tr("Camera") + self.camList, EricPixmapCache.getIcon("camera"), self.tr("Camera") ) self.micCamList = QTreeWidget() @@ -110,7 +110,7 @@ self.micCamList.headerItem().setText(1, self.tr("Permission")) self.tabWidget.addTab( self.micCamList, - UI.PixmapCache.getIcon("audio-video"), + EricPixmapCache.getIcon("audio-video"), self.tr("Microphone && Camera"), ) @@ -127,7 +127,7 @@ self.mouseLockList.headerItem().setText(0, self.tr("Host")) self.mouseLockList.headerItem().setText(1, self.tr("Permission")) self.tabWidget.addTab( - self.mouseLockList, UI.PixmapCache.getIcon("mouse"), self.tr("Mouse Lock") + self.mouseLockList, EricPixmapCache.getIcon("mouse"), self.tr("Mouse Lock") ) self.deskVidList = QTreeWidget() @@ -144,7 +144,7 @@ self.deskVidList.headerItem().setText(1, self.tr("Permission")) self.tabWidget.addTab( self.deskVidList, - UI.PixmapCache.getIcon("desktopVideoCapture"), + EricPixmapCache.getIcon("desktopVideoCapture"), self.tr("Desktop Video"), ) @@ -162,7 +162,7 @@ self.deskAudVidList.headerItem().setText(1, self.tr("Permission")) self.tabWidget.addTab( self.deskAudVidList, - UI.PixmapCache.getIcon("desktopAudioVideoCapture"), + EricPixmapCache.getIcon("desktopAudioVideoCapture"), self.tr("Desktop Audio && Video"), )