diff options
Diffstat (limited to 'core/subsurface-qt')
-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: |