mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +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 fullTextNoNotes READ fullTextNoNotes CONSTANT)
|
||||
public:
|
||||
DiveObjectHelper(struct dive *dive = NULL);
|
||||
DiveObjectHelper(struct dive *dive);
|
||||
~DiveObjectHelper();
|
||||
int number() const;
|
||||
int id() const;
|
||||
|
|
Loading…
Reference in a new issue