diff options
author | kali <kali@leap.se> | 2012-10-26 02:04:34 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-10-26 02:04:34 +0900 |
commit | 593e4ba1ddf185d14f27c96ffb970fde7a3271fa (patch) | |
tree | d448619e6487d4f17edd936344700206862ea30f /src/leap/app.py | |
parent | b847bbfb8e1fed3dd478a0314ed618b6a1ae8cb6 (diff) |
fix systray context menu.
Closes #761
Diffstat (limited to 'src/leap/app.py')
-rw-r--r-- | src/leap/app.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/app.py b/src/leap/app.py index a1251ca8..4dd93600 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -1,5 +1,6 @@ # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 import logging + # This is only needed for Python v2 but is harmless for Python v3. import sip sip.setapi('QVariant', 2) @@ -74,6 +75,8 @@ def main(): # if not, it will be set visible # from the systray menu. window.show() + + # run main loop sys.exit(app.exec_()) if __name__ == "__main__": |