--- a/src/eric7/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/__init__.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/Plugins/UiExtensionPlugins/Translator/TranslatorEngines/__init__.py Tue Oct 18 16:06:21 2022 +0200 @@ -12,9 +12,9 @@ from PyQt6.QtCore import QCoreApplication from PyQt6.QtGui import QIcon -from EricWidgets.EricApplication import ericApp +from eric7.EricWidgets.EricApplication import ericApp -import UI.PixmapCache +from eric7.EricGui import EricPixmapCache def supportedEngineNames(): @@ -117,7 +117,7 @@ """ iconSuffix = "dark" if ericApp().usesDarkPalette() else "light" if name in supportedEngineNames(): - icon = UI.PixmapCache.getIcon( + icon = EricPixmapCache.getIcon( os.path.join( os.path.dirname(__file__), "..", @@ -128,7 +128,7 @@ ) if icon.isNull(): # try variant without suffix - icon = UI.PixmapCache.getIcon( + icon = EricPixmapCache.getIcon( os.path.join( os.path.dirname(__file__), "..",