9481:0b936ff1bbb9 | 9482:a2bc06a54d9d |
---|---|
12 of the integrated icon editor. | 12 of the integrated icon editor. |
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 |
57 | 59 |
58 def main(): | 60 def main(): |
59 """ | 61 """ |
60 Main entry point into the application. | 62 Main entry point into the application. |
61 """ | 63 """ |
62 from PyQt6.QtGui import QGuiApplication | |
63 | |
64 QGuiApplication.setDesktopFileName("eric7_iconeditor.desktop") | 64 QGuiApplication.setDesktopFileName("eric7_iconeditor.desktop") |
65 | 65 |
66 options = [ | 66 options = [ |
67 ( | 67 ( |
68 "--config=configDir", | 68 "--config=configDir", |