src/eric7/HelpViewer/HelpViewerWidget.py

branch
eric7
changeset 10926
9ef616cd220d
parent 10804
8fe0a5226fd5
child 11006
a671918232f3
--- a/src/eric7/HelpViewer/HelpViewerWidget.py	Wed Sep 25 14:07:40 2024 +0200
+++ b/src/eric7/HelpViewer/HelpViewerWidget.py	Wed Sep 25 14:48:57 2024 +0200
@@ -36,7 +36,7 @@
 except ImportError:
     WEBENGINE_AVAILABLE = False
 
-from eric7 import Globals, Preferences
+from eric7 import EricUtilities, Preferences
 from eric7.EricGui import EricPixmapCache
 from eric7.EricWidgets import EricFileDialog, EricMessageBox
 from eric7.EricWidgets.EricApplication import ericApp
@@ -685,7 +685,7 @@
         @return path of the QtHelp collection file
         @rtype str
         """
-        qthelpDir = os.path.join(Globals.getConfigDir(), "qthelp")
+        qthelpDir = os.path.join(EricUtilities.getConfigDir(), "qthelp")
         if not os.path.exists(qthelpDir):
             os.makedirs(qthelpDir, exist_ok=True)
         return os.path.join(qthelpDir, "eric7help.qhc")

eric ide

mercurial