summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-21 09:44:52 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-07-21 09:44:52 -0300
commita6025c8efd1ae83c68fdf65fbffa827802757f2f (patch)
tree29ebcebaf8aa10dbf2bc5905da8b59a3cb3d5373 /qt-ui/diveplanner.h
parent29cb15950e632dd70fa004f721c529c6d0c8041b (diff)
downloadsubsurface-a6025c8efd1ae83c68fdf65fbffa827802757f2f.tar.gz
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>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 468df0ed9..ccd81584b 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -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