src/eric7/Preferences/ConfigurationPages/InterfacePage.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
--- a/src/eric7/Preferences/ConfigurationPages/InterfacePage.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/Preferences/ConfigurationPages/InterfacePage.py	Sun Dec 18 19:33:46 2022 +0100
@@ -13,7 +13,7 @@
 from PyQt6.QtCore import QTranslator, pyqtSlot
 from PyQt6.QtWidgets import QColorDialog, QDialog, QStyleFactory
 
-from eric7 import Preferences, Utilities
+from eric7 import Globals, Preferences
 from eric7.EricGui import EricPixmapCache
 from eric7.EricWidgets.EricApplication import ericApp
 from eric7.EricWidgets.EricIconBar import EricIconBar
@@ -226,7 +226,7 @@
         fnlist = (
             glob.glob("eric7_*.qm")
             + glob.glob(os.path.join(getConfig("ericTranslationsDir"), "eric7_*.qm"))
-            + glob.glob(os.path.join(Utilities.getConfigDir(), "eric7_*.qm"))
+            + glob.glob(os.path.join(Globals.getConfigDir(), "eric7_*.qm"))
         )
         locales = {}
         for fn in fnlist:

eric ide

mercurial