mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core/settings: change bestmixend to int, to allow qml to work
depth_t is a good struct in C, but bad in QML. Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
c0b78d69d9
commit
a037578015
5 changed files with 14 additions and 21 deletions
|
@ -647,7 +647,7 @@ void PlannerSettingsWidget::setDecoPo2(double po2)
|
|||
|
||||
void PlannerSettingsWidget::setBestmixEND(int depth)
|
||||
{
|
||||
qPrefDivePlanner::instance()->set_bestmixend(units_to_depth(depth));
|
||||
qPrefDivePlanner::instance()->set_bestmixend(units_to_depth(depth).mm);
|
||||
}
|
||||
|
||||
void PlannerSettingsWidget::setBackgasBreaks(bool dobreaks)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue