summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-19 12:56:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-19 12:59:36 -0700
commit9ffa37ab6fa26e950060e11323d78d7a3ecedcf1 (patch)
tree7f6c4010cbfe768ed2541f54c21b40f1aafe5ccb /qt-ui/maintab.h
parenta4f243dfacffb599d89de869c35c153ec5596d50 (diff)
downloadsubsurface-9ffa37ab6fa26e950060e11323d78d7a3ecedcf1.tar.gz
Rename buttons for dive edit
The old names made sense in the initial model (where you'd click on the edit button to start an edit). The new names seem much more natural given what we do now. Also a tiny code cleanup removing a redundant if statement. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r--qt-ui/maintab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 7acb27d11..f48cdace5 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -46,8 +46,8 @@ public Q_SLOTS:
void on_editWeight_clicked();
void on_delWeight_clicked();
void updateDiveInfo(int dive);
- void on_editNotes_clicked(bool edit);
- void on_resetNotes_clicked();
+ void on_editAccept_clicked(bool edit);
+ void on_editReset_clicked();
void on_location_textChanged(const QString& text);
void on_divemaster_textChanged(const QString& text);
void on_buddy_textChanged(const QString& text);