Toolbox/Startup.py

changeset 4035
c38be891d0ab
parent 4021
195a471c327b
child 4566
a2e8f3c420ec
child 4632
ca310db386ed
equal deleted inserted replaced
4033:46084f695e10 4035:c38be891d0ab
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