summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-08 18:15:04 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-08 18:15:04 +0900
commit1578c1edb2dd7e74b111e6b6b5c7883c37554235 (patch)
tree58a8a63a7849525a38a7ac21f647c89fba311041 /qt-ui/diveplanner.h
parentbf0bd88226508ca9c2dc8941cde82f72cbe1d371 (diff)
downloadsubsurface-1578c1edb2dd7e74b111e6b6b5c7883c37554235.tar.gz
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h2
1 files changed, 1 insertions, 1 deletions
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);