mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Indent cleanup
This commit is contained in:
parent
c3d6294b7a
commit
07cd536867
@ -5,25 +5,25 @@ void Parser::handleTrackpointData(TrackpointElement element,
|
||||
const QString &value)
|
||||
{
|
||||
switch (element) {
|
||||
case Elevation:
|
||||
_track->last().elevation = value.toLatin1().toDouble();
|
||||
break;
|
||||
case Time:
|
||||
_track->last().timestamp = QDateTime::fromString(value.toLatin1(),
|
||||
case Elevation:
|
||||
_track->last().elevation = value.toLatin1().toDouble();
|
||||
break;
|
||||
case Time:
|
||||
_track->last().timestamp = QDateTime::fromString(value.toLatin1(),
|
||||
Qt::ISODate);
|
||||
break;
|
||||
case Geoidheight:
|
||||
_track->last().geoidheight = value.toLatin1().toDouble();
|
||||
break;
|
||||
case Speed:
|
||||
_track->last().speed = value.toDouble();
|
||||
break;
|
||||
case HeartRate:
|
||||
_track->last().heartRate = value.toDouble();
|
||||
break;
|
||||
case Temperature:
|
||||
_track->last().temperature = value.toDouble();
|
||||
break;
|
||||
break;
|
||||
case Geoidheight:
|
||||
_track->last().geoidheight = value.toLatin1().toDouble();
|
||||
break;
|
||||
case Speed:
|
||||
_track->last().speed = value.toDouble();
|
||||
break;
|
||||
case HeartRate:
|
||||
_track->last().heartRate = value.toDouble();
|
||||
break;
|
||||
case Temperature:
|
||||
_track->last().temperature = value.toDouble();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user