summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-26 02:04:34 +0900
committerkali <kali@leap.se>2012-10-26 02:04:34 +0900
commit593e4ba1ddf185d14f27c96ffb970fde7a3271fa (patch)
treed448619e6487d4f17edd936344700206862ea30f /src/leap/app.py
parentb847bbfb8e1fed3dd478a0314ed618b6a1ae8cb6 (diff)
fix systray context menu.
Closes #761
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py3
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__":