diff --git a/src/data/kmlparser.cpp b/src/data/kmlparser.cpp index f0813b0e..24dbaae7 100644 --- a/src/data/kmlparser.cpp +++ b/src/data/kmlparser.cpp @@ -585,7 +585,9 @@ void KMLParser::document(QList &tracks, QList &areas, QVector &waypoints) { while (_reader.readNextStartElement()) { - if (_reader.name() == QLatin1String("Placemark")) + if (_reader.name() == QLatin1String("Document")) + document(tracks, areas, waypoints); + else if (_reader.name() == QLatin1String("Placemark")) placemark(tracks, areas, waypoints); else if (_reader.name() == QLatin1String("Folder")) folder(tracks, areas, waypoints);