diff options
author | kali <kali@leap.se> | 2012-10-05 04:10:50 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-10-05 04:10:50 +0900 |
commit | 51dee24be94567334dfb8765cbd3bb23dcae9ee3 (patch) | |
tree | 353978aa2f7fb3b51791ffbcf62bacea8e9c947a /src/leap/app.py | |
parent | c06d7e25649cc76dfe7418a520dc823270a3191f (diff) |
init QSettings - save window geometry
Diffstat (limited to 'src/leap/app.py')
-rw-r--r-- | src/leap/app.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/leap/app.py b/src/leap/app.py index 3170de4a..a5e09d80 100644 --- a/src/leap/app.py +++ b/src/leap/app.py @@ -50,6 +50,14 @@ def main(): logger.info('Starting app') app = QApplication(sys.argv) + # needed for initializing qsettings + # it will write .config/leap/leap.conf + # top level app settings + # in a platform independent way + app.setOrganizationName("leap") + app.setApplicationName("leap") + app.setOrganizationDomain("leap.se") + if not QSystemTrayIcon.isSystemTrayAvailable(): QMessageBox.critical(None, "Systray", "I couldn't detect" |