From 1578c1edb2dd7e74b111e6b6b5c7883c37554235 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 8 Nov 2013 18:15:04 +0900 Subject: Be consistent when passing around gas data in the planner We need to make sure that the correct segment has the correct gas assigned to it - and that those gases are correctly tracked when editing a manually added dive as well. Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/diveplanner.h') diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 6883f62eb..83bfadc32 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -41,7 +41,7 @@ public: int size(); struct diveplan getDiveplan(); public slots: - int addStop(int meters = 0, int minutes = 0,const QString& gas = QString(), int ccpoint = 0 ); + int addStop(int meters = 0, int minutes = 0, int o2 = 0, int he = 0, int ccpoint = 0 ); void setGFHigh(short gfhigh); void setGFLow(short ghflow); void setSurfacePressure(int pressure); -- cgit v1.2.3-70-g09d2