diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2021-01-13 11:35:51 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-13 13:52:00 -0800 |
commit | 702d09df9fe582d253607589c4b88ccd62502883 (patch) | |
tree | 7d298d04327e59c0b169a10a8f4269654720da8a /mobile-widgets/qml | |
parent | 4454cf0381625d91a74310e8abe3eb1de8ea83a1 (diff) | |
download | subsurface-702d09df9fe582d253607589c4b88ccd62502883.tar.gz |
mobile/GPS: fix two errors in the GPS handling
First, the time zone adjustment was wrong - this as written could only
ever have worked in UTC or by pure chance.
Second, the order of alerting the UI of the availability of a GPS fix
was also incorrect creating a race between the UI and our data
structures.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetailsEdit.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsEdit.qml b/mobile-widgets/qml/DiveDetailsEdit.qml index ededf8196..5fb2b2cde 100644 --- a/mobile-widgets/qml/DiveDetailsEdit.qml +++ b/mobile-widgets/qml/DiveDetailsEdit.qml @@ -204,6 +204,7 @@ Item { target: manager onWaitingForPositionChanged: { gpsText = manager.getCurrentPosition() + manager.appendTextToLog("received updated position info " + gpsText) } } |