Mobile: Fix Gradient Factor Preference Setting.

Fix the persisting and use of gradient factor preferences for dive
profiles in the mobile version.
Also rename the mobile backend gradient factor settings to make it
obvious that they are used by the (not currently enabled) planner.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2024-01-26 01:18:26 +13:00 committed by Dirk Hohndel
parent a59d033278
commit fb41999c73
6 changed files with 28 additions and 20 deletions

View file

@ -37,10 +37,6 @@ QMLInterface::QMLInterface()
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::safetystopChanged,
this, &QMLInterface::safetystopChanged);
connect(qPrefTechnicalDetails::instance(), &qPrefTechnicalDetails::gflowChanged,
this, &QMLInterface::gflowChanged);
connect(qPrefTechnicalDetails::instance(), &qPrefTechnicalDetails::gfhighChanged,
this, &QMLInterface::gfhighChanged);
connect(qPrefTechnicalDetails::instance(), &qPrefTechnicalDetails::vpmb_conservatismChanged,
this, &QMLInterface::vpmb_conservatismChanged);
connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::drop_stone_modeChanged,