eric7/Toolbox/Startup.py

branch
eric7
changeset 8837
6b4b2acc5324
parent 8718
3456fb2a2cb0
child 8881
54e42bc2437a
equal deleted inserted replaced
8836:860158ee8ad6 8837:6b4b2acc5324
262 app.setQuitOnLastWindowClosed(quitOnLastWindowClosed) 262 app.setQuitOnLastWindowClosed(quitOnLastWindowClosed)
263 263
264 # the following code depends upon a valid application object 264 # the following code depends upon a valid application object
265 import Preferences 265 import Preferences
266 266
267 # set the application style sheet
268 app.setStyleSheetFile(Preferences.getUI("StyleSheet"))
269
267 initializeResourceSearchPath(app) 270 initializeResourceSearchPath(app)
268 QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric")) 271 QApplication.setWindowIcon(UI.PixmapCache.getIcon("eric"))
269 272
270 qtTransDir = Preferences.getQtTranslationsDir() 273 qtTransDir = Preferences.getQtTranslationsDir()
271 if not qtTransDir: 274 if not qtTransDir:

eric ide

mercurial