Added button to reduce dive time on the planner.

Added a button and a method to reduce time on the dive
planner. The dive planner will not reduce below deco-time
and it will also not reduce below TIME_INITIAL_MAX.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-07-21 09:44:52 -03:00
parent 29cb15950e
commit a6025c8efd
2 changed files with 17 additions and 1 deletions

View file

@ -130,6 +130,7 @@ private:
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.
};
#endif