diff options
author | pravindalve | 2020-06-08 20:33:03 +0530 |
---|---|---|
committer | GitHub | 2020-06-08 20:33:03 +0530 |
commit | 0cf5626ed61f29249ebc92fcec6dbae5489bac8e (patch) | |
tree | ce12d8e658713777e5b205fd5137aeae957bceff /src/main/python/utils/app.py | |
parent | 5c907a6e7f0c18a18094b70ba166c6bc5cdcf1ac (diff) | |
parent | bfa6cdf2e858e4a08e7e51dbf6d6cddc8d4183b7 (diff) | |
download | Chemical-PFD-0cf5626ed61f29249ebc92fcec6dbae5489bac8e.tar.gz Chemical-PFD-0cf5626ed61f29249ebc92fcec6dbae5489bac8e.tar.bz2 Chemical-PFD-0cf5626ed61f29249ebc92fcec6dbae5489bac8e.zip |
Merge pull request #9 from Blakeinstein/master
Bring save logic to json instead of pickle
Diffstat (limited to 'src/main/python/utils/app.py')
-rw-r--r-- | src/main/python/utils/app.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/python/utils/app.py b/src/main/python/utils/app.py index 4540a43..4ee11c3 100644 --- a/src/main/python/utils/app.py +++ b/src/main/python/utils/app.py @@ -3,7 +3,10 @@ Declare fbs application so that it can be imported in other modules. """ from fbs_runtime.application_context.PyQt5 import ApplicationContext +from PyQt5.QtCore import QSettings + app = ApplicationContext() +settings = QSettings(QSettings.IniFormat, QSettings.UserScope ,"FOSSEE", "Chemical-PFD") def fileImporter(file): # Helper function to fetch files from src/main/resources |