summaryrefslogtreecommitdiff
path: root/src/leap/app.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-10-02 06:43:15 +0900
committerkali <kali@leap.se>2012-10-02 06:43:15 +0900
commit886d04167e51ba07a71393bad5c41b04023db527 (patch)
tree749a039b1a95ff5f888924cfd1c331166a2778a0 /src/leap/app.py
parentbbbeef10fd581fa29090b95b8f46f4641f7e5f41 (diff)
moved eip checks to qthread to let icon show early
Diffstat (limited to 'src/leap/app.py')
-rw-r--r--src/leap/app.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/app.py b/src/leap/app.py
index 52ebcaea..3170de4a 100644
--- a/src/leap/app.py
+++ b/src/leap/app.py
@@ -60,6 +60,10 @@ def main():
window = LeapWindow(opts)
if debug:
+ # we only show the main window
+ # if debug mode active.
+ # if not, it will be set visible
+ # from the systray menu.
window.show()
sys.exit(app.exec_())