1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Indent cleanup

This commit is contained in:
Martin Tůma 2016-06-25 11:02:09 +02:00
parent c3d6294b7a
commit 07cd536867

View File

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