aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget/divecartesianaxis.h
diff options
context:
space:
mode:
Diffstat (limited to 'profile-widget/divecartesianaxis.h')
-rw-r--r--profile-widget/divecartesianaxis.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/profile-widget/divecartesianaxis.h b/profile-widget/divecartesianaxis.h
index 1ea623649..a4a38dd1e 100644
--- a/profile-widget/divecartesianaxis.h
+++ b/profile-widget/divecartesianaxis.h
@@ -109,13 +109,12 @@ private:
class PartialGasPressureAxis : public DiveCartesianAxis {
Q_OBJECT
public:
- PartialGasPressureAxis(ProfileWidget2 *widget);
- void setModel(DivePlotDataModel *model);
+ PartialGasPressureAxis(const DivePlotDataModel &model, ProfileWidget2 *widget);
public
slots:
- void settingsChanged();
+ void update();
private:
- DivePlotDataModel *model;
+ const DivePlotDataModel &model;
};
#endif // DIVECARTESIANAXIS_H