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: |