mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
DiveObjectHelper: remove default argument
We don't support null-dives in DiveObjectHelper. Defaulting the dive parameter to NULL seems to send the wrong message. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
c43e5f648c
commit
88119b356d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class DiveObjectHelper : public QObject {
|
||||||
Q_PROPERTY(QString fullText READ fullText CONSTANT)
|
Q_PROPERTY(QString fullText READ fullText CONSTANT)
|
||||||
Q_PROPERTY(QString fullTextNoNotes READ fullTextNoNotes CONSTANT)
|
Q_PROPERTY(QString fullTextNoNotes READ fullTextNoNotes CONSTANT)
|
||||||
public:
|
public:
|
||||||
DiveObjectHelper(struct dive *dive = NULL);
|
DiveObjectHelper(struct dive *dive);
|
||||||
~DiveObjectHelper();
|
~DiveObjectHelper();
|
||||||
int number() const;
|
int number() const;
|
||||||
int id() const;
|
int id() const;
|
||||||
|
|
Loading…
Add table
Reference in a new issue