eric7/Preferences/__init__.py

branch
eric7
changeset 8459
0ae07748dbe8
parent 8366
2a9f5153c438
child 8469
77e00a1c55bf
--- a/eric7/Preferences/__init__.py	Sat Jul 10 11:41:13 2021 +0200
+++ b/eric7/Preferences/__init__.py	Sat Jul 10 12:31:31 2021 +0200
@@ -2941,7 +2941,7 @@
         s = QLibraryInfo.path(
             QLibraryInfo.LibraryPath.TranslationsPath)
     if s == "" and Globals.isWindowsPlatform():
-        transPath = os.path.join(Globals.getPyQt5ModulesDirectory(),
+        transPath = os.path.join(Globals.getPyQt6ModulesDirectory(),
                                  "translations")
         if os.path.exists(transPath):
             s = transPath

eric ide

mercurial