desktop-widgets: replace o2narcotic from plannerModel to plannerShared

Use plannerShared setter to update o2narcotic. This will also signal
the cylindermodel to calculate a new bestmix.

Signed-off-by: Jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2019-12-23 17:25:46 +01:00 committed by Dirk Hohndel
parent c4d9b737cd
commit 738ee360ba
4 changed files with 48 additions and 10 deletions

View file

@ -76,7 +76,6 @@ slots:
void setDecoPo2(double po2);
void setBestmixEND(int depth);
void setBackgasBreaks(bool dobreaks);
void setO2narcotic(bool o2narcotic);
void disableDecoElements(int mode);
void disableBackgasBreaks(bool enabled);
void setDiveMode(int mode);