Utilities/Startup.py

changeset 2077
68a34718a0ce
parent 1849
fb1d05e523d3
--- a/Utilities/Startup.py	Sat Sep 29 19:59:18 2012 +0200
+++ b/Utilities/Startup.py	Sun Sep 30 13:27:28 2012 +0200
@@ -10,7 +10,7 @@
 import os
 import sys
 
-from PyQt4.QtCore import QTranslator, QTextCodec, QLocale, QLibraryInfo
+from PyQt4.QtCore import QTranslator, QLocale, QLibraryInfo
 from PyQt4.QtGui import QApplication
 
 from E5Gui.E5Application import E5Application
@@ -236,10 +236,6 @@
         qt4TransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath)
     loadTranslators(qt4TransDir, app)
     
-    QTextCodec.setCodecForCStrings(
-        QTextCodec.codecForName(Preferences.getSystem("StringEncoding"))
-    )
-    
     w = mwFactory(argv)
     if quitOnLastWindowClosed:
         app.lastWindowClosed.connect(app.quit)

eric ide

mercurial