diff --git a/src/FileIO/KmlRideFile.h b/src/FileIO/KmlRideFile.h index 891cfca93..fd40b8ca2 100644 --- a/src/FileIO/KmlRideFile.h +++ b/src/FileIO/KmlRideFile.h @@ -23,7 +23,10 @@ #include "RideFile.h" struct KmlFileReader : public RideFileReader { - virtual RideFile *openRideFile(QFile &, QStringList &, QList* =0) const { return NULL; } // does not support reading + virtual RideFile *openRideFile(QFile &, QStringList &errors, QList* =0) const { + errors << QString("kml files are not supported for import"); // does not support reading + return NULL; + } bool writeRideFile(Context *, const RideFile *ride, QFile &file) const; bool hasWrite() const { return true; } };