--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/CloseheadExtension/ProjectHelper.py Tue Oct 18 16:06:21 2022 +0200 @@ -9,11 +9,11 @@ from PyQt6.QtWidgets import QMenu -from EricGui.EricAction import EricAction +from eric7.EricGui.EricAction import EricAction from ..HgExtensionProjectHelper import HgExtensionProjectHelper -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache class CloseheadProjectHelper(HgExtensionProjectHelper): @@ -33,7 +33,7 @@ """ self.hgCloseheadAct = EricAction( self.tr("Close Heads"), - UI.PixmapCache.getIcon("closehead"), + EricPixmapCache.getIcon("closehead"), self.tr("Close Heads"), 0, 0, @@ -62,7 +62,7 @@ @return populated menu (QMenu) """ menu = QMenu(self.menuTitle(), mainMenu) - menu.setIcon(UI.PixmapCache.getIcon("closehead")) + menu.setIcon(EricPixmapCache.getIcon("closehead")) menu.setTearOffEnabled(True) menu.addAction(self.hgCloseheadAct)