mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
add device types
This commit is contained in:
@@ -50,6 +50,9 @@ RideFile::writeAsXml(QFile &file, QString &err)
|
||||
QDomElement xstart = xroot.createElement("start").toElement();
|
||||
xride.appendChild(xstart);
|
||||
xstart.setAttribute("date", startTime_.toString("yyyy/MM/dd hh:mm:ss"));
|
||||
QDomElement xdevtype = xroot.createElement("device_type").toElement();
|
||||
xride.appendChild(xdevtype);
|
||||
xdevtype.setAttribute("name", deviceType_);
|
||||
QDomElement xrecint = xroot.createElement("sampling_period").toElement();
|
||||
xride.appendChild(xrecint);
|
||||
xrecint.setAttribute("secs", QString("%1").arg(recIntSecs_, 0, 'f', 3));
|
||||
|
||||
Reference in New Issue
Block a user