254 |
254 |
255 global app, args, mainWindow, splash, restartArgs, inMainLoop |
255 global app, args, mainWindow, splash, restartArgs, inMainLoop |
256 |
256 |
257 sys.excepthook = excepthook |
257 sys.excepthook = excepthook |
258 |
258 |
|
259 from PyQt5.QtGui import QGuiApplication |
|
260 QGuiApplication.setDesktopFileName("eric6.desktop") |
|
261 |
259 options = [ |
262 options = [ |
260 ("--config=configDir", |
263 ("--config=configDir", |
261 "use the given directory as the one containing the config files"), |
264 "use the given directory as the one containing the config files"), |
262 ("--debug", "activate debugging output to the console"), |
265 ("--debug", "activate debugging output to the console"), |
263 ("--no-splash", "don't show the splash screen"), |
266 ("--no-splash", "don't show the splash screen"), |