Launcher: increase precision of lat/lon args
This commit is contained in:
parent
1e3ba48a88
commit
2212e9342f
1 changed files with 2 additions and 2 deletions
|
@ -999,8 +999,8 @@ void LocationController::onCollectConfig()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_locationIsLatLon) {
|
if (m_locationIsLatLon) {
|
||||||
m_config->setArg("lat", QString::number(m_geodLocation.getLatitudeDeg()));
|
m_config->setArg("lat", QString::number(m_geodLocation.getLatitudeDeg(), 'f', 8));
|
||||||
m_config->setArg("lon", QString::number(m_geodLocation.getLongitudeDeg()));
|
m_config->setArg("lon", QString::number(m_geodLocation.getLongitudeDeg(), 'f', 8));
|
||||||
applyPositionOffset();
|
applyPositionOffset();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue