diff -r 1358e9d67a1c -r 88261c96484b eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py --- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Sun Apr 12 18:46:08 2020 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Sun Apr 12 19:07:49 2020 +0200 @@ -69,13 +69,13 @@ self.optionsTabWidget.setCurrentIndex(0) self.excludeMessagesSelectButton.setIcon( - UI.PixmapCache.getIcon("select.png")) + UI.PixmapCache.getIcon("select")) self.includeMessagesSelectButton.setIcon( - UI.PixmapCache.getIcon("select.png")) + UI.PixmapCache.getIcon("select")) self.fixIssuesSelectButton.setIcon( - UI.PixmapCache.getIcon("select.png")) + UI.PixmapCache.getIcon("select")) self.noFixIssuesSelectButton.setIcon( - UI.PixmapCache.getIcon("select.png")) + UI.PixmapCache.getIcon("select")) self.docTypeComboBox.addItem(self.tr("PEP-257"), "pep257") self.docTypeComboBox.addItem(self.tr("Eric"), "eric") @@ -101,8 +101,8 @@ self.resultList.headerItem().setText(self.resultList.columnCount(), "") self.resultList.header().setSortIndicator(0, Qt.AscendingOrder) - self.addBuiltinButton.setIcon(UI.PixmapCache.getIcon("plus.png")) - self.deleteBuiltinButton.setIcon(UI.PixmapCache.getIcon("minus.png")) + self.addBuiltinButton.setIcon(UI.PixmapCache.getIcon("plus")) + self.deleteBuiltinButton.setIcon(UI.PixmapCache.getIcon("minus")) self.checkProgress.setVisible(False) self.checkProgressLabel.setVisible(False) @@ -192,20 +192,20 @@ self.__lastFileItem, ["{0:6}".format(line), code, message]) if code.startswith(("W", "-", "C", "M")): - itm.setIcon(1, UI.PixmapCache.getIcon("warning.png")) + itm.setIcon(1, UI.PixmapCache.getIcon("warning")) elif code.startswith("N"): - itm.setIcon(1, UI.PixmapCache.getIcon("namingError.png")) + itm.setIcon(1, UI.PixmapCache.getIcon("namingError")) elif code.startswith("D"): - itm.setIcon(1, UI.PixmapCache.getIcon("docstringError.png")) + itm.setIcon(1, UI.PixmapCache.getIcon("docstringError")) else: - itm.setIcon(1, UI.PixmapCache.getIcon("syntaxError.png")) + itm.setIcon(1, UI.PixmapCache.getIcon("syntaxError")) if fixed: - itm.setIcon(0, UI.PixmapCache.getIcon("issueFixed.png")) + itm.setIcon(0, UI.PixmapCache.getIcon("issueFixed")) elif ( code in FixableCodeStyleIssues and not autofixing and code not in self.__noFixCodesList ): - itm.setIcon(0, UI.PixmapCache.getIcon("issueFixable.png")) + itm.setIcon(0, UI.PixmapCache.getIcon("issueFixable")) fixable = True itm.setTextAlignment(0, Qt.AlignRight) @@ -243,7 +243,7 @@ if fixed: code, message = text.split(None, 1) itm.setText(2, message) - itm.setIcon(0, UI.PixmapCache.getIcon("issueFixed.png")) + itm.setIcon(0, UI.PixmapCache.getIcon("issueFixed")) itm.setData(0, self.messageRole, message) else: