Simplify update of gflow and gfhigh values in the code

The more complex handling is no longer needed because:
- Keyboard tracking for gfhigh/low UI fields was switched off here:
  030c094854
- GFhigh was limited to 40 here:
  53fffe0ce3

Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
Stefan Fuchs 2017-12-19 20:55:17 +01:00 committed by Robert C. Helling
parent 3ad398e3a7
commit d703ba99c1
3 changed files with 7 additions and 30 deletions

View file

@ -63,9 +63,7 @@ slots:
int addStop(int millimeters = 0, int seconds = 0, int cylinderid_in = -1, int ccpoint = 0, bool entered = true);
void addCylinder_clicked();
void setGFHigh(const int gfhigh);
void triggerGFHigh();
void setGFLow(const int gflow);
void triggerGFLow();
void setVpmbConservatism(int level);
void setSurfacePressure(int pressure);
void setSalinity(int salinity);
@ -123,8 +121,6 @@ private:
bool recalc;
QVector<divedatapoint> divepoints;
QDateTime startTime;
int tempGFHigh;
int tempGFLow;
int instanceCounter = 0;
struct deco_state ds_after_previous_dives;
};