mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Ignore "???" turnpoints in CUP tasks
This commit is contained in:
parent
30518cebc0
commit
2bda7ba714
@ -96,6 +96,9 @@ bool CUPParser::task(const QStringList &entry,
|
|||||||
RouteData r;
|
RouteData r;
|
||||||
r.setName(entry.at(0));
|
r.setName(entry.at(0));
|
||||||
for (int i = 1; i < entry.size(); i++) {
|
for (int i = 1; i < entry.size(); i++) {
|
||||||
|
if (entry.at(i) == "???")
|
||||||
|
continue;
|
||||||
|
|
||||||
Waypoint w;
|
Waypoint w;
|
||||||
for (int j = 0; j < waypoints.size(); j++) {
|
for (int j = 0; j < waypoints.size(); j++) {
|
||||||
if (waypoints.at(j).name() == entry.at(i)) {
|
if (waypoints.at(j).name() == entry.at(i)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user