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:
Berthold Stoeger 2019-08-12 23:51:44 +02:00 committed by Dirk Hohndel
parent c43e5f648c
commit 88119b356d

View file

@ -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;