From 56501dda1e56f32be98bf4dc475411c56dd223da Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 2 Jul 2014 14:15:17 -0700 Subject: UI restructure: updateDiveInfo displays displayed_dive Instead of passing in a divenr of -1 to make it clear things this changes things to use an options "clear" flag. 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 acebc6d43..e2b9e0e27 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -56,7 +56,7 @@ public slots: void addCylinder_clicked(); void addWeight_clicked(); - void updateDiveInfo(int dive = selected_dive); + void updateDiveInfo(bool clear = false); void acceptChanges(); void rejectChanges(); void on_location_textChanged(const QString &text); -- cgit v1.2.3-70-g09d2