eric5_tray.py

changeset 3534
325a637dbb14
parent 3178
f25fc1364c88
child 3656
441956d8fce5
equal deleted inserted replaced
3531:c4b36c72184d 3534:325a637dbb14
9 9
10 This is the main Python script that performs the necessary initialization 10 This is the main Python script that performs the necessary initialization
11 of the system-tray application. This acts as a quickstarter by providing a 11 of the system-tray application. This acts as a quickstarter by providing a
12 context menu to start the eric5 IDE and the eric5 tools. 12 context menu to start the eric5 IDE and the eric5 tools.
13 """ 13 """
14
15 from __future__ import unicode_literals
16 try: # Only for Py2
17 import sip
18 sip.setapi('QString', 2)
19 sip.setapi('QVariant', 2)
20 import Utilities.compatibility_fixes # __IGNORE_WARNING__
21 except (ImportError):
22 pass
14 23
15 import sys 24 import sys
16 25
17 for arg in sys.argv: 26 for arg in sys.argv:
18 if arg.startswith("--config="): 27 if arg.startswith("--config="):

eric ide

mercurial