9481:0b936ff1bbb9 | 9482:a2bc06a54d9d |
---|---|
12 version of the integrated MiniEditor module. | 12 version of the integrated MiniEditor module. |
13 """ | 13 """ |
14 | 14 |
15 import os | 15 import os |
16 import sys | 16 import sys |
17 | |
18 from PyQt6.QtGui import QGuiApplication | |
17 | 19 |
18 for arg in sys.argv[:]: | 20 for arg in sys.argv[:]: |
19 if arg.startswith("--config="): | 21 if arg.startswith("--config="): |
20 from eric7 import Globals | 22 from eric7 import Globals |
21 | 23 |
54 | 56 |
55 def main(): | 57 def main(): |
56 """ | 58 """ |
57 Main entry point into the application. | 59 Main entry point into the application. |
58 """ | 60 """ |
59 from PyQt6.QtGui import QGuiApplication | |
60 | |
61 QGuiApplication.setDesktopFileName("eric7_editor.desktop") | 61 QGuiApplication.setDesktopFileName("eric7_editor.desktop") |
62 | 62 |
63 options = [ | 63 options = [ |
64 ( | 64 ( |
65 "--config=configDir", | 65 "--config=configDir", |