document encoding string can't contain spaces

This commit is contained in:
Sean C. Rhea
2009-05-03 01:22:33 +00:00
parent 095ad55763
commit 37fdc5eefd

View File

@@ -51,7 +51,7 @@ bool
RideFile::writeAsXml(QFile &file, QString &err) const
{
(void) err;
QDomDocument doc("GoldenCheetah 1.0");
QDomDocument doc("GoldenCheetah-1.0");
QDomNode xride = doc.appendChild(doc.createElement("ride"));
QDomNode xheader = xride.appendChild(doc.createElement("header"));
append_text(doc, xheader, "start_time", startTime_.toString("yyyy/MM/dd hh:mm:ss"));