summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-08-03 22:24:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-03 13:44:39 -0700
commita3fe1c560f38a848c8b5e17bd55cc760cbac4e1e (patch)
treeefb9899d01c99e2edd5059bddab301180133345b /qt-ui/diveplanner.h
parent0c3fa77354d1870c394913fc43b72a95a1ff8edf (diff)
downloadsubsurface-a3fe1c560f38a848c8b5e17bd55cc760cbac4e1e.tar.gz
Update altitude properly when changing unit systems
We need to change the displayed numeric value of the altitutde and not just the unit suffix when changing unit systems. Fixes #681 Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 806b02cc2..26e2943fc 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -67,6 +67,7 @@ slots:
void setGFHigh(const int gfhigh);
void setGFLow(const int ghflow);
void setSurfacePressure(int pressure);
+ int getSurfacePressure();
void setBottomSac(int sac);
void setDecoSac(int sac);
void setStartTime(const QTime &t);