mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
dive planner: correct bottomsac/decosac calc.
Move conversion cuft <-> liter from desktop-widget/diveplanner.cpp to plannerShared, to facilitate the same results in mobile diveplanner Use Backend for bottomsac/decosac and update to check for switch LITER <-> CUFT Add bottomsac/decosac to QMLinterface. Signed-off-by: jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
5548376776
commit
cd3c2266f9
6 changed files with 49 additions and 18 deletions
|
|
@ -65,6 +65,10 @@ void QMLInterface::setup(QQmlContext *ct)
|
|||
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::problemsolvingtimeChanged,
|
||||
instance(), &QMLInterface::problemsolvingtimeChanged);
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::bottomsacChanged,
|
||||
instance(), &QMLInterface::bottomsacChanged);
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::decosacChanged,
|
||||
instance(), &QMLInterface::decosacChanged);
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_runtimeChanged,
|
||||
instance(), &QMLInterface::display_runtimeChanged);
|
||||
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_durationChanged,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue