eric6/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7781
607a6098cb44
--- a/eric6/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.py	Sun Apr 12 18:46:08 2020 +0200
+++ b/eric6/WebBrowser/FeaturePermissions/FeaturePermissionsDialog.py	Sun Apr 12 19:07:49 2020 +0200
@@ -53,7 +53,7 @@
             self.notifList.headerItem().setText(1, self.tr("Permission"))
             self.tabWidget.addTab(
                 self.notifList,
-                UI.PixmapCache.getIcon("notification.png"),
+                UI.PixmapCache.getIcon("notification"),
                 self.tr("Notifications"))
         
         self.geoList = QTreeWidget()
@@ -68,7 +68,7 @@
         self.geoList.headerItem().setText(1, self.tr("Permission"))
         self.tabWidget.addTab(
             self.geoList,
-            UI.PixmapCache.getIcon("geolocation.png"),
+            UI.PixmapCache.getIcon("geolocation"),
             self.tr("Geolocation"))
         
         self.micList = QTreeWidget()
@@ -83,7 +83,7 @@
         self.micList.headerItem().setText(1, self.tr("Permission"))
         self.tabWidget.addTab(
             self.micList,
-            UI.PixmapCache.getIcon("audiocapture.png"),
+            UI.PixmapCache.getIcon("audiocapture"),
             self.tr("Microphone"))
         
         self.camList = QTreeWidget()
@@ -98,7 +98,7 @@
         self.camList.headerItem().setText(1, self.tr("Permission"))
         self.tabWidget.addTab(
             self.camList,
-            UI.PixmapCache.getIcon("camera.png"),
+            UI.PixmapCache.getIcon("camera"),
             self.tr("Camera"))
         
         self.micCamList = QTreeWidget()
@@ -113,7 +113,7 @@
         self.micCamList.headerItem().setText(1, self.tr("Permission"))
         self.tabWidget.addTab(
             self.micCamList,
-            UI.PixmapCache.getIcon("audio-video.png"),
+            UI.PixmapCache.getIcon("audio-video"),
             self.tr("Microphone && Camera"))
         
         self.mouseLockList = QTreeWidget()
@@ -129,7 +129,7 @@
         self.mouseLockList.headerItem().setText(1, self.tr("Permission"))
         self.tabWidget.addTab(
             self.mouseLockList,
-            UI.PixmapCache.getIcon("mouse.png"),
+            UI.PixmapCache.getIcon("mouse"),
             self.tr("Mouse Lock"))
         
         if hasattr(QWebEnginePage, "DesktopVideoCapture"):
@@ -147,7 +147,7 @@
             self.deskVidList.headerItem().setText(1, self.tr("Permission"))
             self.tabWidget.addTab(
                 self.deskVidList,
-                UI.PixmapCache.getIcon("desktopVideoCapture.png"),
+                UI.PixmapCache.getIcon("desktopVideoCapture"),
                 self.tr("Desktop Video"))
             
             self.deskAudVidList = QTreeWidget()
@@ -163,7 +163,7 @@
             self.deskAudVidList.headerItem().setText(1, self.tr("Permission"))
             self.tabWidget.addTab(
                 self.deskAudVidList,
-                UI.PixmapCache.getIcon("desktopAudioVideoCapture.png"),
+                UI.PixmapCache.getIcon("desktopAudioVideoCapture"),
                 self.tr("Desktop Audio && Video"))
         
         if hasattr(QWebEnginePage, "Notifications"):

eric ide

mercurial