From 2212e9342f6d1f81ea1d83ad9a0820550974fa25 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 28 Jun 2018 22:51:53 +0100 Subject: [PATCH] Launcher: increase precision of lat/lon args --- src/GUI/LocationController.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/LocationController.cxx b/src/GUI/LocationController.cxx index 411bf3762..e591c9461 100644 --- a/src/GUI/LocationController.cxx +++ b/src/GUI/LocationController.cxx @@ -999,8 +999,8 @@ void LocationController::onCollectConfig() } if (m_locationIsLatLon) { - m_config->setArg("lat", QString::number(m_geodLocation.getLatitudeDeg())); - m_config->setArg("lon", QString::number(m_geodLocation.getLongitudeDeg())); + m_config->setArg("lat", QString::number(m_geodLocation.getLatitudeDeg(), 'f', 8)); + m_config->setArg("lon", QString::number(m_geodLocation.getLongitudeDeg(), 'f', 8)); applyPositionOffset(); return; }