eric6/Preferences/__init__.py

changeset 7598
6bb50f2a1df2
parent 7592
f79dc58bdf62
child 7607
dd1054be15aa
child 7627
812ee8c0a91a
child 7628
f904d0eef264
diff -r 9dac5ef0126d -r 6bb50f2a1df2 eric6/Preferences/__init__.py
--- a/eric6/Preferences/__init__.py	Mon May 18 17:39:01 2020 +0200
+++ b/eric6/Preferences/__init__.py	Tue May 19 18:03:54 2020 +0200
@@ -2969,10 +2969,6 @@
         "Qt/Qt5TranslationsDir",
         prefClass.qtDefaults["Qt5TranslationsDir"])
     if s == "":
-        s = os.getenv("QTTRANSLATIONSDIR", "")
-    if s == "":
-        s = os.getenv("QT5TRANSLATIONSDIR", "")
-    if s == "":
         s = QLibraryInfo.location(QLibraryInfo.TranslationsPath)
     if s == "" and Globals.isWindowsPlatform():
         transPath = os.path.join(Globals.getPyQt5ModulesDirectory(),

eric ide

mercurial