diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-03-15 13:30:01 -0300 |
---|---|---|
committer | kali <kali@leap.se> | 2013-03-21 23:01:50 +0900 |
commit | 8f54774f6c3f779527718a0158ebd0efc4aab588 (patch) | |
tree | 8a746424f81698b03cabcc481196273672b5601e /src/leap/app.py | |
parent | ddbad58fc2b3f44a293eeac7790a06f13b56944a (diff) |
Handle configuration and paths in a standalone way
Also, abstracts QSettings under LeapSettings and adds a way to define
the VPN env in a platform dependant way.
Diffstat (limited to 'src/leap/app.py')
-rw-r--r-- | src/leap/app.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/app.py b/src/leap/app.py index 9f4d4614..14d3c69c 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -42,6 +42,7 @@ def main(): _, opts = leap_argparse.init_leapc_args() debug = opts.debug + standalone = opts.standalone # TODO: get severity from command line args if debug: @@ -93,7 +94,7 @@ def main(): # TODO: check if the leap-client is already running and quit # gracefully in that case. - window = MainWindow() + window = MainWindow(standalone) window.show() # This dummy timer ensures that control is given to the outside |