mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile cleanup: unduplicate code and do not loop over dives (3)
See e6e1473e6
. Exact same commit but here for the
list of divemaster. The careful reader will spot a
small addition to the clearDetailsEdit() QML function.
Two more field are cleared.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
572fc47071
commit
83259008e7
7 changed files with 12 additions and 35 deletions
|
@ -47,7 +47,6 @@ class DiveObjectHelper : public QObject {
|
|||
Q_PROPERTY(QString startPressure READ startPressure CONSTANT)
|
||||
Q_PROPERTY(QString endPressure READ endPressure CONSTANT)
|
||||
Q_PROPERTY(QString firstGas READ firstGas CONSTANT)
|
||||
Q_PROPERTY(QStringList divemasterList READ divemasterList CONSTANT)
|
||||
Q_PROPERTY(QStringList locationList READ locationList CONSTANT)
|
||||
public:
|
||||
DiveObjectHelper(struct dive *dive = NULL);
|
||||
|
@ -92,7 +91,6 @@ public:
|
|||
QString endPressure() const;
|
||||
QString firstGas() const;
|
||||
QStringList locationList() const;
|
||||
QStringList divemasterList() const;
|
||||
|
||||
private:
|
||||
struct dive *m_dive;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue