summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-11-24 14:17:01 +0100
committerGravatar Robert C. Helling <helling@atdotde.de>2017-11-25 20:13:01 +0100
commit088db5e12be569ea85fc2ac34c22413a30090cba (patch)
tree535b7c07ce0652c3d602223699b8e63a4d6ec6a3 /qt-models/diveplannermodel.h
parent8e21a65653514d9340ef45c9b9c53dfe5d280350 (diff)
downloadsubsurface-088db5e12be569ea85fc2ac34c22413a30090cba.tar.gz
Hand planner variables to profile
Pass the planner state struct to the profile computation so it can use deco_time and first ceiling to display VPM-B ceiling. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r--qt-models/diveplannermodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h
index 0b714e608..5e04c9d79 100644
--- a/qt-models/diveplannermodel.h
+++ b/qt-models/diveplannermodel.h
@@ -56,6 +56,7 @@ public:
int lastEnteredPoint();
void removeDeco();
static bool addingDeco;
+ struct deco_state final_deco_state;
public
slots: