diff options
author | Jocke <j.bygdell@gmail.com> | 2018-09-23 11:32:28 +0200 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-09-25 15:35:25 +0200 |
commit | 2d3777ce8764af1a99745db2b9d1b2a814336402 (patch) | |
tree | 6b66e78cd659b16069c82eb9db8ed2a57b34668a /mobile-widgets/qml | |
parent | 3b8f36ff1399236cb0c2976c77546ef7c813cb8e (diff) | |
download | subsurface-2d3777ce8764af1a99745db2b9d1b2a814336402.tar.gz |
Mobile/settings: clear all of qPrefDiveComputer.vendor
To prevent stale data in the download DC path we need to clear the entire
qPrefDiveComputer.vendor() object when the user purges the used DCs.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 391dbd493..7c2beceaf 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -365,6 +365,7 @@ Kirigami.ScrollablePage { PrefDiveComputer.vendor2 = "" PrefDiveComputer.vendor3 = "" PrefDiveComputer.vendor4 = "" + PrefDiveComputer.vendor = "" } } } |