mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
parent
40616fb868
commit
c4e0ff6435
@ -138,10 +138,7 @@ bool TwoNavParser::parse(QFile *file, QList<TrackData> &tracks,
|
|||||||
|
|
||||||
if (list.size() > 5) {
|
if (list.size() > 5) {
|
||||||
QDateTime ts(timestamp(list.at(4), list.at(5)));
|
QDateTime ts(timestamp(list.at(4), list.at(5)));
|
||||||
if (!ts.isValid()) {
|
if (ts.isValid())
|
||||||
_errorString = "Invalid date/time";
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
t.setTimestamp(ts);
|
t.setTimestamp(ts);
|
||||||
}
|
}
|
||||||
if (list.size() > 7) {
|
if (list.size() > 7) {
|
||||||
|
Loading…
Reference in New Issue
Block a user