Toolbox/Startup.py

changeset 5283
06423d65a2b8
parent 4714
03c5936c79e5
child 5389
9b1c800daff3
equal deleted inserted replaced
5282:898b0dda21e1 5283:06423d65a2b8
238 qtTransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath) 238 qtTransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath)
239 loadTranslators(qtTransDir, app, ("qscintilla",)) 239 loadTranslators(qtTransDir, app, ("qscintilla",))
240 # qscintilla needed for web browser 240 # qscintilla needed for web browser
241 241
242 w = mwFactory(argv) 242 w = mwFactory(argv)
243 if w is None:
244 return 100
245
243 if quitOnLastWindowClosed: 246 if quitOnLastWindowClosed:
244 app.lastWindowClosed.connect(app.quit) 247 app.lastWindowClosed.connect(app.quit)
245 w.show() 248 w.show()
246 if raiseIt: 249 if raiseIt:
247 w.raise_() 250 w.raise_()

eric ide

mercurial