9481:0b936ff1bbb9 | 9482:a2bc06a54d9d |
---|---|
11 of the snapshot module and starts the Qt event loop. | 11 of the snapshot module and starts the Qt event loop. |
12 """ | 12 """ |
13 | 13 |
14 import os | 14 import os |
15 import sys | 15 import sys |
16 | |
17 from PyQt6.QtGui import QGuiApplication | |
16 | 18 |
17 for arg in sys.argv[:]: | 19 for arg in sys.argv[:]: |
18 if arg.startswith("--config="): | 20 if arg.startswith("--config="): |
19 from eric7 import Globals | 21 from eric7 import Globals |
20 | 22 |
50 | 52 |
51 def main(): | 53 def main(): |
52 """ | 54 """ |
53 Main entry point into the application. | 55 Main entry point into the application. |
54 """ | 56 """ |
55 from PyQt6.QtGui import QGuiApplication | |
56 | |
57 QGuiApplication.setDesktopFileName("eric7_snap.desktop") | 57 QGuiApplication.setDesktopFileName("eric7_snap.desktop") |
58 | 58 |
59 options = [ | 59 options = [ |
60 ( | 60 ( |
61 "--config=configDir", | 61 "--config=configDir", |