diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index a7345363c..fba9efb92 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -725,8 +725,8 @@ static void setupDivesite(struct dive *d, struct dive_site *ds, double lat, doub ds->longitude.udeg = lrint(lon * 1000000); } else { degrees_t latData, lonData; - latData.udeg = lrint(lat); - lonData.udeg = lrint(lon); + latData.udeg = lrint(lat * 1000000); + lonData.udeg = lrint(lon * 1000000); d->dive_site_uuid = create_dive_site_with_gps(locationtext, latData, lonData, d->when); } } |