mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Spell rebreather with an h
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
25ea932e81
commit
292982cdd5
1 changed files with 3 additions and 3 deletions
|
@ -256,7 +256,7 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f)
|
||||||
ui.setupUi(this);
|
ui.setupUi(this);
|
||||||
|
|
||||||
QSettings s;
|
QSettings s;
|
||||||
QStringList rebreater_modes;
|
QStringList rebreather_modes;
|
||||||
s.beginGroup("Planner");
|
s.beginGroup("Planner");
|
||||||
prefs.last_stop = s.value("last_stop", prefs.last_stop).toBool();
|
prefs.last_stop = s.value("last_stop", prefs.last_stop).toBool();
|
||||||
prefs.verbatim_plan = s.value("verbatim_plan", prefs.verbatim_plan).toBool();
|
prefs.verbatim_plan = s.value("verbatim_plan", prefs.verbatim_plan).toBool();
|
||||||
|
@ -302,8 +302,8 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f)
|
||||||
ui.vpmb_deco->setChecked(prefs.deco_mode == VPMB);
|
ui.vpmb_deco->setChecked(prefs.deco_mode == VPMB);
|
||||||
|
|
||||||
// should be the same order as in dive_comp_type!
|
// should be the same order as in dive_comp_type!
|
||||||
rebreater_modes << tr("Open circuit") << tr("CCR") << tr("pSCR");
|
rebreather_modes << tr("Open circuit") << tr("CCR") << tr("pSCR");
|
||||||
ui.rebreathermode->insertItems(0, rebreater_modes);
|
ui.rebreathermode->insertItems(0, rebreather_modes);
|
||||||
|
|
||||||
modeMapper = new QSignalMapper(this);
|
modeMapper = new QSignalMapper(this);
|
||||||
connect(modeMapper, SIGNAL(mapped(int)) , plannerModel, SLOT(setDecoMode(int)));
|
connect(modeMapper, SIGNAL(mapped(int)) , plannerModel, SLOT(setDecoMode(int)));
|
||||||
|
|
Loading…
Reference in a new issue