eric5_tray.py

branch
Py2 comp.
changeset 2538
b2642e7a4c18
parent 2526
a91cba8291b9
child 3057
10516539f238
equal deleted inserted replaced
2533:8fb5922867f2 2538:b2642e7a4c18
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 14
15 from __future__ import unicode_literals # __IGNORE_WARNING__ 15 from __future__ import unicode_literals # __IGNORE_WARNING__
16 try: # Only for Py2 16 try: # Only for Py2
17 import sip 17 import sip
18 sip.setapi('QString', 2) 18 sip.setapi('QString', 2)
19 sip.setapi('QVariant', 2) 19 sip.setapi('QVariant', 2)
20 import Utilities.compatibility_fixes # __IGNORE_WARNING__ 20 import Utilities.compatibility_fixes # __IGNORE_WARNING__
21 except (ImportError): 21 except (ImportError):

eric ide

mercurial