aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-01-08 14:42:07 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-10 17:27:24 -0800
commit0f7f2195d56effff234430cc4314c5216d518a8d (patch)
tree423c07dd727b7dc06f973b698e7a395a3ae44b3c /qt-ui/maintab.h
parenta478eb5711db6a1950cf810ca0b67414b6910030 (diff)
downloadsubsurface-0f7f2195d56effff234430cc4314c5216d518a8d.tar.gz
Add setpoint events according to divetype
When changing to a CCR dive, add a setpoint change to the default setpoint at the beginning of the dive. Otherwise add an explicit setpoint change to 0 . Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 8b98119f4..2f7277bbd 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -71,7 +71,7 @@ slots:
void on_suit_textChanged(const QString &text);
void on_notes_textChanged();
void on_airtemp_textChanged(const QString &text);
- void on_divetype_Changed(const int &index);
+ void divetype_Changed(int);
void on_watertemp_textChanged(const QString &text);
void validate_temp_field(QLineEdit *tempField, const QString &text);
void on_dateEdit_dateChanged(const QDate &date);