Toolbox/Startup.py

branch
6_0_x
changeset 4036
076a2e6332dc
parent 4022
f5f42921717e
child 4566
a2e8f3c420ec
child 4632
ca310db386ed
equal deleted inserted replaced
4034:bcee35dbbce0 4036:076a2e6332dc
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:

eric ide

mercurial