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
@ -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…
x
Reference in New Issue
Block a user