diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-12 14:26:34 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2017-11-12 15:11:30 +0100 |
commit | b32251a5a8ec6dc431b6c5a71e5cd9d3d95f0930 (patch) | |
tree | edaba36a007a32d40abccfabdb4930fd4a0b407a /core/subsurface-qt | |
parent | 4d04f74312dc4a7fe75a442cf22a2901ede28d1a (diff) | |
download | subsurface-b32251a5a8ec6dc431b6c5a71e5cd9d3d95f0930.tar.gz |
Typo: modp02 -> modpO2
Fixes two function names, where O2 was written as 02.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurface-qt')
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.cpp | 4 | ||||
-rw-r--r-- | core/subsurface-qt/SettingsObjectWrapper.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.cpp b/core/subsurface-qt/SettingsObjectWrapper.cpp index 3787d27dd..ed4b556d1 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.cpp +++ b/core/subsurface-qt/SettingsObjectWrapper.cpp @@ -296,7 +296,7 @@ void TechnicalDetailsSettings::setDecoMode(deco_mode d) emit decoModeChanged(d); } -double TechnicalDetailsSettings:: modp02() const +double TechnicalDetailsSettings:: modpO2() const { return prefs.modpO2; } @@ -416,7 +416,7 @@ bool TechnicalDetailsSettings::showPicturesInProfile() const return prefs.show_pictures_in_profile; } -void TechnicalDetailsSettings::setModp02(double value) +void TechnicalDetailsSettings::setModpO2(double value) { if (value == prefs.modpO2) return; diff --git a/core/subsurface-qt/SettingsObjectWrapper.h b/core/subsurface-qt/SettingsObjectWrapper.h index 622bb7efb..d16d3fa27 100644 --- a/core/subsurface-qt/SettingsObjectWrapper.h +++ b/core/subsurface-qt/SettingsObjectWrapper.h @@ -112,7 +112,7 @@ private: class TechnicalDetailsSettings : public QObject { Q_OBJECT - Q_PROPERTY(double modpO2 READ modp02 WRITE setModp02 NOTIFY modpO2Changed) + Q_PROPERTY(double modpO2 READ modpO2 WRITE setModpO2 NOTIFY modpO2Changed) Q_PROPERTY(bool ead READ ead WRITE setEad NOTIFY eadChanged) Q_PROPERTY(bool mod READ mod WRITE setMod NOTIFY modChanged) Q_PROPERTY(bool dcceiling READ dcceiling WRITE setDCceiling NOTIFY dcceilingChanged) @@ -141,7 +141,7 @@ class TechnicalDetailsSettings : public QObject { public: TechnicalDetailsSettings(QObject *parent); - double modp02() const; + double modpO2() const; bool ead() const; bool mod() const; bool dcceiling() const; @@ -169,7 +169,7 @@ public: public slots: void setMod(bool value); - void setModp02(double value); + void setModpO2(double value); void setEad(bool value); void setDCceiling(bool value); void setRedceiling(bool value); |