summaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r--qt-models/divetripmodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index 4164c5788..d33df2143 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -32,7 +32,7 @@ public:
};
QVariant data(int column, int role) const override;
- int diveId;
+ dive *d;
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
Qt::ItemFlags flags(const QModelIndex &index) const override;
QString displayDate() const;
@@ -46,7 +46,7 @@ public:
QString displaySac() const;
QString displaySacWithUnit() const;
QString displayTags() const;
- int countPhotos(dive *dive) const;
+ int countPhotos() const;
int weight() const;
};