Correct copy/paste errors for File Format

This commit is contained in:
Damien
2012-11-14 19:06:45 +01:00
committed by Mark Liversedge
parent f43ac923c5
commit 696d5f82e8
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ GcFileReader::openRideFile(QFile &file, QStringList &errors, QList<RideFile*>*)
QString value = attr.attribute("value");
if (key == "Device type")
rideFile->setDeviceType(value);
else if (key == "File type")
else if (key == "File Format")
rideFile->setFileFormat(value);
if (key == "Start time") {
// by default QDateTime is localtime - the source however is UTC