mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed broken units setting for cadence, heart rate and power graphs
This commit is contained in:
parent
9fd8b84c3b
commit
7d40dfddb2
@ -13,7 +13,6 @@ public:
|
|||||||
QString label() const {return tr("Cadence");}
|
QString label() const {return tr("Cadence");}
|
||||||
void loadData(const Data &data, const QList<PathItem *> &paths);
|
void loadData(const Data &data, const QList<PathItem *> &paths);
|
||||||
void clear();
|
void clear();
|
||||||
void setUnits(enum Units) {}
|
|
||||||
void showTracks(bool show);
|
void showTracks(bool show);
|
||||||
void showRoutes(bool show) {Q_UNUSED(show);}
|
void showRoutes(bool show) {Q_UNUSED(show);}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ public:
|
|||||||
virtual QString label() const = 0;
|
virtual QString label() const = 0;
|
||||||
virtual void loadData(const Data &data, const QList<PathItem *> &paths) = 0;
|
virtual void loadData(const Data &data, const QList<PathItem *> &paths) = 0;
|
||||||
virtual void clear() {}
|
virtual void clear() {}
|
||||||
virtual void setUnits(enum Units units) {Q_UNUSED(units)}
|
virtual void setUnits(enum Units units) {GraphView::setUnits(units);}
|
||||||
virtual void setTimeType(enum TimeType type) {Q_UNUSED(type)}
|
virtual void setTimeType(enum TimeType type) {Q_UNUSED(type)}
|
||||||
virtual void showTracks(bool show) {Q_UNUSED(show)}
|
virtual void showTracks(bool show) {Q_UNUSED(show)}
|
||||||
virtual void showRoutes(bool show) {Q_UNUSED(show)}
|
virtual void showRoutes(bool show) {Q_UNUSED(show)}
|
||||||
|
Loading…
Reference in New Issue
Block a user