diff options
Diffstat (limited to 'profile-widget/ruleritem.h')
-rw-r--r-- | profile-widget/ruleritem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profile-widget/ruleritem.h b/profile-widget/ruleritem.h index 3462a5d35..2c7c5b3ea 100644 --- a/profile-widget/ruleritem.h +++ b/profile-widget/ruleritem.h @@ -18,7 +18,7 @@ class RulerNodeItem2 : public QObject, public QGraphicsEllipseItem { public: explicit RulerNodeItem2(); void setRuler(RulerItem2 *r); - void setPlotInfo(struct plot_info &info); + void setPlotInfo(const struct plot_info &info); void recalculate(); protected: @@ -37,7 +37,7 @@ public: explicit RulerItem2(); void recalculate(); - void setPlotInfo(struct plot_info *pInfo); + void setPlotInfo(const struct plot_info &pInfo); RulerNodeItem2 *sourceNode() const; RulerNodeItem2 *destNode() const; void setAxis(DiveCartesianAxis *time, DiveCartesianAxis *depth); |