diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-01-16 15:05:00 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-17 08:18:48 +1300 |
commit | 0d619d569bd0b57028eceb16147ea08e850fc946 (patch) | |
tree | 0fa47848d5bfb6cdbb19d245c03b53fcb9158acc /qt-ui/diveplanner.h | |
parent | 881803441e3c0a24004a25e84197280c4722b679 (diff) | |
download | subsurface-0d619d569bd0b57028eceb16147ea08e850fc946.tar.gz |
Planner rebreather mode
Do the switching based on the index rather than the string (which is
translatable!).
Update set-points when turning on/off CCR mode (remeber: the rebreather
mode is stored in two places: the divemode and implicitly in the setpoitns.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 6ff4d0f50..e6ae8e8b5 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -90,7 +90,7 @@ slots: void deleteTemporaryPlan(); void loadFromDive(dive *d); void emitDataChanged(); - void setRebreatherMode(QString mode); + void setRebreatherMode(int mode); signals: void planCreated(); |