--- a/src/eric7/EricWidgets/EricTextEditSearchWidget.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/EricWidgets/EricTextEditSearchWidget.py Tue Oct 18 16:06:21 2022 +0200 @@ -22,7 +22,7 @@ QSizePolicy, ) -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache class EricTextEditType(enum.Enum): @@ -104,7 +104,7 @@ if enableClose: self.closeButton = QToolButton(self) - self.closeButton.setIcon(UI.PixmapCache.getIcon("close")) + self.closeButton.setIcon(EricPixmapCache.getIcon("close")) self.closeButton.clicked.connect(self.__closeButtonClicked) self.horizontalLayout1.addWidget(self.closeButton) else: @@ -154,13 +154,13 @@ self.findPrevButton = QToolButton(self) self.findPrevButton.setObjectName("findPrevButton") self.findPrevButton.setToolTip(self.tr("Press to find the previous occurrence")) - self.findPrevButton.setIcon(UI.PixmapCache.getIcon("1leftarrow")) + self.findPrevButton.setIcon(EricPixmapCache.getIcon("1leftarrow")) self.horizontalLayout3.addWidget(self.findPrevButton) self.findNextButton = QToolButton(self) self.findNextButton.setObjectName("findNextButton") self.findNextButton.setToolTip(self.tr("Press to find the next occurrence")) - self.findNextButton.setIcon(UI.PixmapCache.getIcon("1rightarrow")) + self.findNextButton.setIcon(EricPixmapCache.getIcon("1rightarrow")) self.horizontalLayout3.addWidget(self.findNextButton) self.horizontalLayout2.addLayout(self.horizontalLayout3)