Skip to content
Permalink
Browse files

Issue 3065: Uncombine the printing of lat and long telemetry. (#3066)

  • Loading branch information...
ericchristoffersen authored and liversedge committed Apr 15, 2019
1 parent 72bc73c commit a1f3a98f796aaffb463fc32b4f52e656e9dbc526
Showing with 1 addition and 7 deletions.
  1. +1 −7 src/Train/DialWindow.cpp
@@ -501,13 +501,7 @@ DialWindow::telemetryUpdate(const RealtimeData &rtData)

case RealtimeData::Latitude:
case RealtimeData::Longitude:
{
// These 2 fields should be treated as generic location update
double lat = rtData.value(RealtimeData::Latitude);
double lon = rtData.value(RealtimeData::Longitude);

valueLabel->setText(QString("Lon:%1\nLat:%2").arg(lat, 0, 'f', 10).arg(lon, 0, 'f', 10));
}
valueLabel->setText(QString("%1").arg(value, 0, 'f', 8));
break;

case RealtimeData::Altitude:

0 comments on commit a1f3a98

Please sign in to comment.
You can’t perform that action at this time.