summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-06-20 13:43:09 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-20 06:37:44 -0700
commitbb44908507ce86072312c75b1223539deb67c5af (patch)
treee858764f05557dd117cc79ec8681698f66ffc5ba /qt-ui/diveplanner.h
parent3f74389b883a8c06f2021a26070fdc76c6666880 (diff)
downloadsubsurface-bb44908507ce86072312c75b1223539deb67c5af.tar.gz
planner: Switch to QSpinBox for SAC
QSpinBox is nice to see how different sac rate would affect our dive plan. "Hey, What would happen if I would be stressed and my sac goes up by 50%?" Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 4a504ead7..96725550b 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -135,8 +135,8 @@ public
slots:
void settingsChanged();
void atmPressureChanged(const QString &pressure);
- void bottomSacChanged(const QString &bottomSac);
- void decoSacChanged(const QString &decosac);
+ void bottomSacChanged(const int bottomSac);
+ void decoSacChanged(const int decosac);
void printDecoPlan();
private:
@@ -154,8 +154,8 @@ public
slots:
void settingsChanged();
void atmPressureChanged(const QString &pressure);
- void bottomSacChanged(const QString &bottomSac);
- void decoSacChanged(const QString &decosac);
+ void bottomSacChanged(const int bottomSac);
+ void decoSacChanged(const int decosac);
void printDecoPlan();
private: