summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefPartialPressureGas.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2019-02-11 20:27:30 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-05 11:48:26 -0800
commit90b8ccb705ff20f742d6905587eeb93e5943e1f2 (patch)
treec5aedeff06c71dc4346589eabb28bcd668bc0a40 /core/settings/qPrefPartialPressureGas.h
parent653a2baf111284171f0a2d25d6d9a0e82979f6d1 (diff)
downloadsubsurface-90b8ccb705ff20f742d6905587eeb93e5943e1f2.tar.gz
core/settings: remove Q_PROPERTY warning in qPref headers
Q_PROPERTY contains an internal ";", making clang produce a warning when ending the line with a ; Remove ; at the end of Q_PROPERTY lines. Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefPartialPressureGas.h')
-rw-r--r--core/settings/qPrefPartialPressureGas.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/settings/qPrefPartialPressureGas.h b/core/settings/qPrefPartialPressureGas.h
index 7c8df9014..3990824f7 100644
--- a/core/settings/qPrefPartialPressureGas.h
+++ b/core/settings/qPrefPartialPressureGas.h
@@ -7,13 +7,13 @@
class qPrefPartialPressureGas : public QObject {
Q_OBJECT
- Q_PROPERTY(bool phe READ phe WRITE set_phe NOTIFY pheChanged);
- Q_PROPERTY(double phe_threshold READ phe_threshold WRITE set_phe_threshold NOTIFY phe_thresholdChanged);
- Q_PROPERTY(bool pn2 READ pn2 WRITE set_pn2 NOTIFY pn2Changed);
- Q_PROPERTY(double pn2_threshold READ pn2_threshold WRITE set_pn2_threshold NOTIFY pn2_thresholdChanged);
- Q_PROPERTY(bool po2 READ po2 WRITE set_po2 NOTIFY po2Changed);
- Q_PROPERTY(double po2_threshold_max READ po2_threshold_max WRITE set_po2_threshold_max NOTIFY po2_threshold_maxChanged);
- Q_PROPERTY(double po2_threshold_min READ po2_threshold_min WRITE set_po2_threshold_min NOTIFY po2_threshold_minChanged);
+ Q_PROPERTY(bool phe READ phe WRITE set_phe NOTIFY pheChanged)
+ Q_PROPERTY(double phe_threshold READ phe_threshold WRITE set_phe_threshold NOTIFY phe_thresholdChanged)
+ Q_PROPERTY(bool pn2 READ pn2 WRITE set_pn2 NOTIFY pn2Changed)
+ Q_PROPERTY(double pn2_threshold READ pn2_threshold WRITE set_pn2_threshold NOTIFY pn2_thresholdChanged)
+ Q_PROPERTY(bool po2 READ po2 WRITE set_po2 NOTIFY po2Changed)
+ Q_PROPERTY(double po2_threshold_max READ po2_threshold_max WRITE set_po2_threshold_max NOTIFY po2_threshold_maxChanged)
+ Q_PROPERTY(double po2_threshold_min READ po2_threshold_min WRITE set_po2_threshold_min NOTIFY po2_threshold_minChanged)
public:
static qPrefPartialPressureGas *instance();