aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/diveplotdatamodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-11 16:17:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-20 10:01:50 -0800
commit5e1dcb0655fd6daa7914a78a83c5419bfbc93457 (patch)
treeafb2421e103005c7f7f1f9f0583d718ef6b30e91 /qt-models/diveplotdatamodel.h
parent5ddb5ada271aa4e2b440eec454dc48c51797c9a4 (diff)
downloadsubsurface-5e1dcb0655fd6daa7914a78a83c5419bfbc93457.tar.gz
cleanup: remove dive parameter from DivePlotDataModel::setDive()
This was not used, probably an artifact from days long gone. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/diveplotdatamodel.h')
-rw-r--r--qt-models/diveplotdatamodel.h2
1 files changed, 1 insertions, 1 deletions
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;