diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2016-10-15 19:52:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-10-15 12:22:28 -0700 |
commit | 8cd4255a28a4251d2f75900970611ce48db5ab65 (patch) | |
tree | 12fe78f42fc69e1b95479d292d8958987377f37d /core | |
parent | 49e96e781696a1ba9d87915155c9df264966e72d (diff) | |
download | subsurface-8cd4255a28a4251d2f75900970611ce48db5ab65.tar.gz |
Test planner settings
Plus: fix a typo.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 2 | ||||
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index 8303afa8a..29b104349 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.cpp +++ b/core/subsurface-qt/SettingsObjectWrapper.cpp @@ -1495,7 +1495,7 @@ void DivePlannerSettings::setBottomSac(int value) emit bottomSacChanged(value); } -void DivePlannerSettings::setSecoSac(int value) +void DivePlannerSettings::setDecoSac(int value) { if (value == prefs.decosac) return; diff --git a/core/subsurface-qt/SettingsObjectWrapper.h b/core/subsurface-qt/SettingsObjectWrapper.h index 8fd164f89..eeec3ab61 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.h +++ b/core/subsurface-qt/SettingsObjectWrapper.h @@ -403,7 +403,7 @@ class DivePlannerSettings : public QObject { Q_PROPERTY(int reserve_gas READ reserveGas WRITE setReserveGas NOTIFY reserveGasChanged) Q_PROPERTY(int min_switch_duration READ minSwitchDuration WRITE setMinSwitchDuration NOTIFY minSwitchDurationChanged) Q_PROPERTY(int bottomsac READ bottomSac WRITE setBottomSac NOTIFY bottomSacChanged) - Q_PROPERTY(int decosac READ decoSac WRITE setSecoSac NOTIFY decoSacChanged) + Q_PROPERTY(int decosac READ decoSac WRITE setDecoSac NOTIFY decoSacChanged) Q_PROPERTY(deco_mode decoMode READ decoMode WRITE setDecoMode NOTIFY decoModeChanged) public: @@ -452,7 +452,7 @@ public slots: void setReserveGas(int value); void setMinSwitchDuration(int value); void setBottomSac(int value); - void setSecoSac(int value); + void setDecoSac(int value); void setDecoMode(deco_mode value); signals: |