1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-07 08:02:50 +02:00

Added coordinates checking to file parsers

Refactoring
This commit is contained in:
2016-10-24 00:21:40 +02:00
parent 375ef20592
commit 27194d3d36
28 changed files with 288 additions and 221 deletions

View File

@ -29,7 +29,7 @@ bool CSVParser::loadFile(QIODevice *device)
_errorLine = ln;
return false;
}
Waypoint wp(QPointF(lon, lat));
Waypoint wp(Coordinates(lon, lat));
QByteArray ba = list[2].trimmed();
QString name = QString::fromUtf8(ba.data(), ba.size());