diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-10-03 10:06:15 +0200 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2017-10-04 08:41:10 +0200 |
commit | cf409b59ba3027537acf0ec36d2186e200ca8934 (patch) | |
tree | c44060263a12212584022a575f4ee86a21e1790a /desktop-widgets/diveplanner.h | |
parent | 52445ec8f5bb957a41c6650982e69c96174eee8a (diff) | |
download | subsurface-cf409b59ba3027537acf0ec36d2186e200ca8934.tar.gz |
Planner settings ascend and descende rate: Wire up UI elements correctly
Wire up the UI elements (QSpinBoxes) for ascend rates (4x) and descend rate
(1x) correctly so that the profile and calculation is updated immediately
after the value is changed (e.g. increased/decresed by 1) by clicking
the QSpinBox arrows.
Until now one had to click into the profile or change another planner
preference first before the change became effective.
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets/diveplanner.h')
-rw-r--r-- | desktop-widgets/diveplanner.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop-widgets/diveplanner.h b/desktop-widgets/diveplanner.h index ee757abd2..59884534c 100644 --- a/desktop-widgets/diveplanner.h +++ b/desktop-widgets/diveplanner.h @@ -74,11 +74,11 @@ slots: void bottomSacChanged(const double bottomSac); void decoSacChanged(const double decosac); void printDecoPlan(); - void setAscRate75(int rate); - void setAscRate50(int rate); - void setAscRateStops(int rate); - void setAscRateLast6m(int rate); - void setDescRate(int rate); + void setAscrate75(int rate); + void setAscrate50(int rate); + void setAscratestops(int rate); + void setAscratelast6m(int rate); + void setDescrate(int rate); void sacFactorChanged(const double factor); void problemSolvingTimeChanged(const int min); void setBottomPo2(double po2); |