From fc858d6b68d529653e229194cfa78d430db86beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 21 Dec 2018 21:10:52 +0100 Subject: [PATCH] Added missing activity description acquire --- src/data/tcxparser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data/tcxparser.cpp b/src/data/tcxparser.cpp index b554e7b7..5f314e10 100644 --- a/src/data/tcxparser.cpp +++ b/src/data/tcxparser.cpp @@ -167,6 +167,8 @@ void TCXParser::activity(TrackData &track) while (_reader.readNextStartElement()) { if (_reader.name() == QLatin1String("Lap")) lap(track); + else if (_reader.name() == QLatin1String("Notes")) + track.setDescription(_reader.readElementText()); else _reader.skipCurrentElement(); }