mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
@@ -376,9 +376,10 @@ void VideoWindow::telemetryUpdate(RealtimeData rtd)
|
||||
double dLon = rtd.getLongitude();
|
||||
double dAlt = rtd.getAltitude();
|
||||
|
||||
// show/plot or hide depending on existance of valid location data
|
||||
// show/plot or hide depending on existance of valid location
|
||||
// data, only when there is a video to play
|
||||
geolocation geo(dLat, dLon, dAlt);
|
||||
if (geo.IsReasonableGeoLocation())
|
||||
if (m && geo.IsReasonableGeoLocation())
|
||||
{
|
||||
liveMapWidget->plotNewLatLng(dLat, dLon);
|
||||
liveMapWidget->show();
|
||||
|
||||
Reference in New Issue
Block a user