220 handler dialog (boolean) |
220 handler dialog (boolean) |
221 @return exit result (integer) |
221 @return exit result (integer) |
222 """ |
222 """ |
223 handleArgs(argv, appinfo) |
223 handleArgs(argv, appinfo) |
224 if app is None: |
224 if app is None: |
|
225 # set the library paths for plugins |
|
226 setLibraryPaths() |
225 app = E5Application(argv) |
227 app = E5Application(argv) |
226 app.setQuitOnLastWindowClosed(quitOnLastWindowClosed) |
228 app.setQuitOnLastWindowClosed(quitOnLastWindowClosed) |
227 |
229 |
228 # the following code depends upon a valid application object |
230 # the following code depends upon a valid application object |
229 import Preferences |
231 import Preferences |
230 |
232 |
231 setLibraryPaths() |
|
232 initializeResourceSearchPath() |
233 initializeResourceSearchPath() |
233 QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) |
234 QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) |
234 |
235 |
235 qt4TransDir = Preferences.getQt4TranslationsDir() |
236 qt4TransDir = Preferences.getQt4TranslationsDir() |
236 if not qt4TransDir: |
237 if not qt4TransDir: |