summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-01-30 22:13:24 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitde579c1a1ad823fbc42d7e3122b77b03626283c3 (patch)
treeafcb74e7c30f5235ba899fa02ca5e2b5e4ce581a /desktop-widgets/tab-widgets/maintab.h
parenta12adf8e2a5a9fc2471874e69d31ce50bbaf4cb8 (diff)
downloadsubsurface-de579c1a1ad823fbc42d7e3122b77b03626283c3.tar.gz
Undo: implement undo of air and water temperature editing
Mostly trivial. Since now on editing the field is re-set, the validation function becomes unnecessary. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.h')
-rw-r--r--desktop-widgets/tab-widgets/maintab.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h
index 14a077ba9..36f9a64a9 100644
--- a/desktop-widgets/tab-widgets/maintab.h
+++ b/desktop-widgets/tab-widgets/maintab.h
@@ -80,12 +80,11 @@ slots:
void on_diveTripLocation_textEdited(const QString& text);
void on_notes_textChanged();
void on_notes_editingFinished();
- void on_airtemp_textChanged(const QString &text);
+ void on_airtemp_editingFinished();
void on_duration_textChanged(const QString &text);
void on_depth_textChanged(const QString &text);
void divetype_Changed(int);
- void on_watertemp_textChanged(const QString &text);
- void validate_temp_field(QLineEdit *tempField, const QString &text);
+ void on_watertemp_editingFinished();
void on_dateEdit_dateChanged(const QDate &date);
void on_timeEdit_timeChanged(const QTime & time);
void on_rating_valueChanged(int value);