eric7/eric7_trpreviewer.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
30 os.makedirs(settingsDir) 30 os.makedirs(settingsDir)
31 QSettings.setPath( 31 QSettings.setPath(
32 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir) 32 QSettings.Format.IniFormat, QSettings.Scope.UserScope, settingsDir)
33 sys.argv.remove(arg) 33 sys.argv.remove(arg)
34 34
35 from E5Gui.E5Application import E5Application 35 from E5Gui.EricApplication import EricApplication
36 36
37 from Tools.TRSingleApplication import TRSingleApplicationClient 37 from Tools.TRSingleApplication import TRSingleApplicationClient
38 from Globals import AppInfo 38 from Globals import AppInfo
39 39
40 from Toolbox import Startup 40 from Toolbox import Startup
79 options) 79 options)
80 80
81 # set the library paths for plugins 81 # set the library paths for plugins
82 Startup.setLibraryPaths() 82 Startup.setLibraryPaths()
83 83
84 app = E5Application(sys.argv) 84 app = EricApplication(sys.argv)
85 client = TRSingleApplicationClient() 85 client = TRSingleApplicationClient()
86 res = client.connect() 86 res = client.connect()
87 if res > 0: 87 if res > 0:
88 if len(sys.argv) > 1: 88 if len(sys.argv) > 1:
89 client.processArgs(sys.argv[1:]) 89 client.processArgs(sys.argv[1:])

eric ide

mercurial