Notes (<cmt/>) from PWX files not added as RideFile tags...

This commit is contained in:
Marc Boudreau
2013-04-19 23:53:47 -04:00
parent 18fa59cce2
commit d23b7254b3

View File

@@ -58,7 +58,6 @@ PwxFileReader::PwxFromDomDoc(QDomDocument doc, QStringList &errors) const
// can arrive at any time, so lets cache them
// and sort out at the end
QDateTime rideDate;
QString rideNotes;
int intervals = 0;
int samples = 0;
@@ -103,8 +102,9 @@ PwxFileReader::PwxFromDomDoc(QDomDocument doc, QStringList &errors) const
// notes
} else if (node.nodeName() == "cmt") {
// Add the PWX cmt tag as notes
QDomElement notes = node.toElement();
rideNotes = notes.text();
rideFile->setTag("Notes", notes.text());
// device type and info
} else if (node.nodeName() == "device") {