1
0
Fork 0

Launcher: increase precision of lat/lon args

This commit is contained in:
James Turner 2018-06-28 22:51:53 +01:00
parent 1e3ba48a88
commit 2212e9342f

View file

@ -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;
}