1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Demangle waypoint names

This commit is contained in:
Martin Tůma 2021-12-24 14:40:01 +01:00
parent f55e5d639d
commit 421ab19e7a

View File

@ -174,7 +174,8 @@ bool TwoNavParser::parse(QFile *file, QList<TrackData> &tracks,
}
Waypoint w(gcs.toWGS84(c));
w.setName(list.at(1));
QString name(list.at(1));
w.setName(name.replace('_', ' ').trimmed());
if (list.size() > 6) {
QDateTime ts(timestamp(list.at(5), list.at(6)));