src/eric7/MicroPython/MicroPythonDevices.py

branch
eric7
changeset 9413
80c06d472826
parent 9278
36448ca469c2
child 9473
3f23dbf37dbe
diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/MicroPython/MicroPythonDevices.py
--- a/src/eric7/MicroPython/MicroPythonDevices.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/MicroPython/MicroPythonDevices.py	Tue Oct 18 16:06:21 2022 +0200
@@ -14,10 +14,10 @@
 from PyQt6.QtCore import pyqtSlot, QObject, QCoreApplication
 from PyQt6.QtWidgets import QInputDialog
 
-from EricWidgets.EricApplication import ericApp
+from eric7.EricWidgets.EricApplication import ericApp
 
-import UI.PixmapCache
-import Preferences
+from eric7.EricGui import EricPixmapCache
+from eric7 import Preferences
 
 
 SupportedBoards = {
@@ -391,9 +391,9 @@
     )
 
     if iconFormat:
-        return UI.PixmapCache.getIcon(iconName)
+        return EricPixmapCache.getIcon(iconName)
     else:
-        return UI.PixmapCache.getPixmap(iconName)
+        return EricPixmapCache.getPixmap(iconName)
 
 
 def getDevice(deviceType, microPythonWidget, vid, pid):

eric ide

mercurial