aboutsummaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-11-12 14:26:34 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2017-11-12 15:11:30 +0100
commitb32251a5a8ec6dc431b6c5a71e5cd9d3d95f0930 (patch)
treeedaba36a007a32d40abccfabdb4930fd4a0b407a /core/subsurface-qt/SettingsObjectWrapper.h
parent4d04f74312dc4a7fe75a442cf22a2901ede28d1a (diff)
downloadsubsurface-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/SettingsObjectWrapper.h')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.h6
1 files changed, 3 insertions, 3 deletions
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);