eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7609
d5aff4fd0ef8
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py	Sun Apr 12 18:46:08 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCodeSelectionDialog.py	Sun Apr 12 19:07:49 2020 +0200
@@ -52,16 +52,16 @@
                 continue
             itm = QTreeWidgetItem(self.codeTable, [code, message])
             if code.startswith(("W", "C", "M")):
-                itm.setIcon(0, UI.PixmapCache.getIcon("warning.png"))
+                itm.setIcon(0, UI.PixmapCache.getIcon("warning"))
             elif code.startswith("E"):
-                itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png"))
+                itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError"))
             elif code.startswith("N"):
-                itm.setIcon(0, UI.PixmapCache.getIcon("namingError.png"))
+                itm.setIcon(0, UI.PixmapCache.getIcon("namingError"))
             elif code.startswith("D"):
-                itm.setIcon(0, UI.PixmapCache.getIcon("docstringError.png"))
+                itm.setIcon(0, UI.PixmapCache.getIcon("docstringError"))
             else:
                 # unknown category prefix => warning
-                itm.setIcon(0, UI.PixmapCache.getIcon("warning.png"))
+                itm.setIcon(0, UI.PixmapCache.getIcon("warning"))
             itm.setFlags(itm.flags() | Qt.ItemIsUserCheckable)
             if code in codeList:
                 itm.setCheckState(0, Qt.Checked)

eric ide

mercurial