eric6/Toolbox/Startup.py

branch
maintenance
changeset 8176
31965986ecd1
parent 8043
0acf98cd089a
parent 8143
2c730d5fd177
child 8731
c6264a513aa4
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
263 initializeResourceSearchPath(app) 263 initializeResourceSearchPath(app)
264 QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric")) 264 QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric"))
265 265
266 qtTransDir = Preferences.getQtTranslationsDir() 266 qtTransDir = Preferences.getQtTranslationsDir()
267 if not qtTransDir: 267 if not qtTransDir:
268 qtTransDir = QLibraryInfo.location(QLibraryInfo.TranslationsPath) 268 qtTransDir = QLibraryInfo.location(
269 QLibraryInfo.LibraryLocation.TranslationsPath)
269 loadTranslators(qtTransDir, app, ("qscintilla",)) 270 loadTranslators(qtTransDir, app, ("qscintilla",))
270 # qscintilla needed for web browser 271 # qscintilla needed for web browser
271 272
272 w = mwFactory(argv) 273 w = mwFactory(argv)
273 if w is None: 274 if w is None:

eric ide

mercurial