Utilities/Startup.py

changeset 564
b3d966393ba9
parent 513
a5329d7867c5
child 701
fc587a1c2f8b
equal deleted inserted replaced
563:e35d2cda9a74 564:b3d966393ba9
225 qt4TransDir = Preferences.getQt4TranslationsDir() 225 qt4TransDir = Preferences.getQt4TranslationsDir()
226 if not qt4TransDir: 226 if not qt4TransDir:
227 qt4TransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath) 227 qt4TransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath)
228 loadTranslators(qt4TransDir, app) 228 loadTranslators(qt4TransDir, app)
229 229
230 QTextCodec.setCodecForCStrings(\ 230 QTextCodec.setCodecForCStrings(
231 QTextCodec.codecForName(Preferences.getSystem("StringEncoding")) 231 QTextCodec.codecForName(Preferences.getSystem("StringEncoding"))
232 ) 232 )
233 233
234 w = mwFactory(argv) 234 w = mwFactory(argv)
235 app.lastWindowClosed.connect(app.quit) 235 app.lastWindowClosed.connect(app.quit)

eric ide

mercurial