mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Planner: Ascent/descent rates are stored in mm/s not in m/min
So should be defaults. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8fae0b6af8
commit
13b8680b0c
1 changed files with 5 additions and 5 deletions
|
@ -367,11 +367,11 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f)
|
|||
|
||||
QSettings s;
|
||||
s.beginGroup("Planner");
|
||||
prefs.ascrate75 = s.value("ascrate75", 9).toInt();
|
||||
prefs.ascrate50 = s.value("ascrate50", 6).toInt();
|
||||
prefs.ascratestops = s.value("ascratestops", 6).toInt();
|
||||
prefs.ascratelast6m = s.value("ascratelast6m", 1).toInt();
|
||||
prefs.descrate = s.value("descrate", 18).toInt();
|
||||
prefs.ascrate75 = s.value("ascrate75", 9 * 1000.0 / 60.0).toInt();
|
||||
prefs.ascrate50 = s.value("ascrate50", 6 * 1000.0 / 60.0).toInt();
|
||||
prefs.ascratestops = s.value("ascratestops", 6 * 1000.0 / 60.0).toInt();
|
||||
prefs.ascratelast6m = s.value("ascratelast6m", 1 * 1000.0 / 60.0).toInt();
|
||||
prefs.descrate = s.value("descrate", 18 * 1000.0 / 60.0).toInt();
|
||||
prefs.bottompo2 = s.value("bottompo2", 1400).toInt();
|
||||
prefs.decopo2 = s.value("decopo2",1600).toInt();
|
||||
prefs.doo2breaks = s.value("doo2breaks", false).toBool();
|
||||
|
|
Loading…
Reference in a new issue