Toolbox/Startup.py

changeset 4714
03c5936c79e5
parent 4631
5c1a96925da4
child 5283
06423d65a2b8
--- a/Toolbox/Startup.py	Wed Feb 03 19:44:28 2016 +0100
+++ b/Toolbox/Startup.py	Thu Feb 04 18:40:04 2016 +0100
@@ -233,10 +233,11 @@
     initializeResourceSearchPath()
     QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric.png"))
     
-    qt4TransDir = Preferences.getQt4TranslationsDir()
-    if not qt4TransDir:
-        qt4TransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath)
-    loadTranslators(qt4TransDir, app)
+    qtTransDir = Preferences.getQtTranslationsDir()
+    if not qtTransDir:
+        qtTransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath)
+    loadTranslators(qtTransDir, app, ("qscintilla",))
+    # qscintilla needed for web browser
     
     w = mwFactory(argv)
     if quitOnLastWindowClosed:

eric ide

mercurial