diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/diveplotdatamodel.cpp | 2 | ||||
-rw-r--r-- | qt-models/diveplotdatamodel.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index 954efc652..38b99c45c 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -180,7 +180,7 @@ void DivePlotDataModel::clear() } } -void DivePlotDataModel::setDive(dive *d, const plot_info &info) +void DivePlotDataModel::setDive(const plot_info &info) { beginResetModel(); dcNr = dc_number; diff --git a/qt-models/diveplotdatamodel.h b/qt-models/diveplotdatamodel.h index 110cff5fc..a1031988f 100644 --- a/qt-models/diveplotdatamodel.h +++ b/qt-models/diveplotdatamodel.h @@ -79,7 +79,7 @@ public: QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; int rowCount(const QModelIndex &parent = QModelIndex()) const override; void clear(); - void setDive(struct dive *d, const plot_info &pInfo); + void setDive(const plot_info &pInfo); const plot_info &data() const; unsigned int dcShown() const; double pheMax() const; |