From 6cb1f1a250a58614bbdd2e26f9fa3ca3cf62a9f5 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 26 Aug 2013 08:47:45 -0300 Subject: Code Cleanup: Buttons on Graphical Planner Removed a bunch of non-used graphics buttons, since the new widget now contains everything needed for the creation / cancelation of the dive plan. Signed-off-by: Tomaz Canabrava --- qt-ui/diveplanner.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'qt-ui/diveplanner.h') diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index fa3f83766..03e4d2bbe 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -92,8 +92,8 @@ private slots: void increaseDepth(); void decreaseTime(); void decreaseDepth();; - void okClicked(); - void cancelClicked(); + + void cancelPlan(); void prepareSelectGas(); void selectGas(const QModelIndex& index); @@ -142,8 +142,6 @@ private: Button *plusDepth; // adds 10 meters to the depth ruler. Button *lessTime; // remove 10 minutes to the time ruler. Button *lessDepth; // remove 10 meters to the depth ruler. - Button *okBtn; // accepts, and creates a new dive based on the plan. - Button *cancelBtn; // rejects, and clears the dive plan. int minMinutes; // this holds the minimum duration of the dive. int dpMaxTime; // this is the time of the dive calculated by the deco. -- cgit v1.2.3-70-g09d2