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

Added support for KML files without document tags

This commit is contained in:
Martin Tůma 2016-10-26 09:01:35 +02:00
parent 84e61c657e
commit c425b3868d

View File

@ -236,6 +236,8 @@ void KMLParser::kml()
while (_reader.readNextStartElement()) {
if (_reader.name() == "Document")
document();
else if (_reader.name() == "Placemark")
placemark();
else
_reader.skipCurrentElement();
}