From 0f7f2195d56effff234430cc4314c5216d518a8d Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Thu, 8 Jan 2015 14:42:07 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/maintab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/maintab.h') 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); -- cgit v1.2.3-70-g09d2