1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 04:02:09 +01:00

Ignore missing namespace declarations

Fixes #110
This commit is contained in:
Martin Tůma 2018-05-08 22:09:39 +02:00
parent 362d065020
commit dfb48d17bf

View File

@ -190,6 +190,7 @@ bool GPXParser::parse(QFile *file, QList<TrackData> &tracks,
{ {
_reader.clear(); _reader.clear();
_reader.setDevice(file); _reader.setDevice(file);
_reader.setNamespaceProcessing(false);
if (_reader.readNextStartElement()) { if (_reader.readNextStartElement()) {
if (_reader.name() == "gpx") if (_reader.name() == "gpx")