src/eric7/eric7_trpreviewer.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
12 of the integrated tr previewer. 12 of the integrated tr previewer.
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
60 """ 62 """
61 Main entry point into the application. 63 Main entry point into the application.
62 """ 64 """
63 global app 65 global app
64 66
65 from PyQt6.QtGui import QGuiApplication
66
67 QGuiApplication.setDesktopFileName("eric7_trpreviewer.desktop") 67 QGuiApplication.setDesktopFileName("eric7_trpreviewer.desktop")
68 68
69 options = [ 69 options = [
70 ( 70 (
71 "--config=configDir", 71 "--config=configDir",

eric ide

mercurial