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

Ignore "???" turnpoints in CUP tasks

This commit is contained in:
Martin Tůma 2019-08-17 11:07:28 +02:00
parent 30518cebc0
commit 2bda7ba714

View File

@ -96,6 +96,9 @@ bool CUPParser::task(const QStringList &entry,
RouteData r;
r.setName(entry.at(0));
for (int i = 1; i < entry.size(); i++) {
if (entry.at(i) == "???")
continue;
Waypoint w;
for (int j = 0; j < waypoints.size(); j++) {
if (waypoints.at(j).name() == entry.at(i)) {