summaryrefslogtreecommitdiffstats
path: root/profile-widget/ruleritem.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/ruleritem.h')
-rw-r--r--profile-widget/ruleritem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/profile-widget/ruleritem.h b/profile-widget/ruleritem.h
index 14cdbe36f..182303c17 100644
--- a/profile-widget/ruleritem.h
+++ b/profile-widget/ruleritem.h
@@ -36,7 +36,7 @@ public:
explicit RulerItem2();
void recalculate();
- void setPlotInfo(const struct plot_info &pInfo);
+ void setPlotInfo(const struct dive *d, const struct plot_info &pInfo);
RulerNodeItem2 *sourceNode() const;
RulerNodeItem2 *destNode() const;
void setAxis(DiveCartesianAxis *time, DiveCartesianAxis *depth);
@@ -47,6 +47,7 @@ slots:
void settingsChanged(bool toggled);
private:
+ const struct dive *dive;
struct plot_info pInfo;
QPointF startPoint, endPoint;
RulerNodeItem2 *source, *dest;