From f9e81c73269d9205ed4851cd86e946a24a8f5b5b Mon Sep 17 00:00:00 2001 From: Jocke Date: Mon, 16 Jul 2018 18:25:21 +0200 Subject: Mobile: return all used gasmixes as a list Planning ahead for full edit capabilities of dives that uses multiple cylinders. Signed-off-by: Joakim Bygdell --- core/subsurface-qt/DiveObjectHelper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/subsurface-qt/DiveObjectHelper.h') diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h index 1c9228365..118197ac3 100644 --- a/core/subsurface-qt/DiveObjectHelper.h +++ b/core/subsurface-qt/DiveObjectHelper.h @@ -48,7 +48,7 @@ class DiveObjectHelper : public QObject { Q_PROPERTY(QStringList getCylinder READ getCylinder CONSTANT) Q_PROPERTY(QString startPressure READ startPressure CONSTANT) Q_PROPERTY(QString endPressure READ endPressure CONSTANT) - Q_PROPERTY(QString firstGas READ firstGas CONSTANT) + Q_PROPERTY(QStringList firstGas READ firstGas CONSTANT) public: DiveObjectHelper(struct dive *dive = NULL); ~DiveObjectHelper(); @@ -92,7 +92,7 @@ public: QStringList getCylinder() const; QString startPressure() const; QString endPressure() const; - QString firstGas() const; + QStringList firstGas() const; private: struct dive *m_dive; -- cgit v1.2.3-70-g09d2