Utilities/Startup.py

changeset 701
fc587a1c2f8b
parent 564
b3d966393ba9
child 791
9ec2ac20e54e
equal deleted inserted replaced
699:c008503ee766 701:fc587a1c2f8b
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 if quitOnLastWindowClosed:
236 app.lastWindowClosed.connect(app.quit)
236 w.show() 237 w.show()
237 238
238 return app.exec_() 239 return app.exec_()

eric ide

mercurial