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 <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-08-26 08:47:45 -03:00
parent 0a043528f7
commit 6cb1f1a250
2 changed files with 4 additions and 17 deletions

View file

@ -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.