mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
4454cf0381
commit
702d09df9f
3 changed files with 5 additions and 4 deletions
|
@ -204,6 +204,7 @@ Item {
|
|||
target: manager
|
||||
onWaitingForPositionChanged: {
|
||||
gpsText = manager.getCurrentPosition()
|
||||
manager.appendTextToLog("received updated position info " + gpsText)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue