mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove DiveObjectHelper::trip() function
The DiveObjectHelper::trip() function was 1) Misnamed: it returned the *location* of the trip 2) Not used outside of DiveObjectHelper Remove it. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9e565e3552
commit
a863386cd4
2 changed files with 2 additions and 8 deletions
|
@ -39,7 +39,6 @@ class DiveObjectHelper : public QObject {
|
|||
Q_PROPERTY(QStringList cylinderList READ cylinderList CONSTANT)
|
||||
Q_PROPERTY(QStringList cylinders READ cylinders CONSTANT)
|
||||
Q_PROPERTY(QList<CylinderObjectHelper*> cylinderObjects READ cylinderObjects CONSTANT)
|
||||
Q_PROPERTY(QString trip READ trip CONSTANT)
|
||||
Q_PROPERTY(QString tripMeta READ tripMeta CONSTANT)
|
||||
Q_PROPERTY(int tripNrDives READ tripNrDives CONSTANT)
|
||||
Q_PROPERTY(int maxcns READ maxcns CONSTANT)
|
||||
|
@ -86,7 +85,6 @@ public:
|
|||
QStringList cylinders() const;
|
||||
QString cylinder(int idx) const;
|
||||
QList<CylinderObjectHelper*> cylinderObjects() const;
|
||||
QString trip() const;
|
||||
QString tripMeta() const;
|
||||
int tripNrDives() const;
|
||||
int maxcns() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue