mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
0a043528f7
commit
6cb1f1a250
2 changed files with 4 additions and 17 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue