aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget
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 /profile-widget
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 'profile-widget')
-rw-r--r--profile-widget/profilewidget2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index e8a447084..128793fd9 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -623,7 +623,7 @@ void ProfileWidget2::plotDive(const struct dive *d, bool force, bool doClearPict
maxdepth = newMaxDepth;
}
- dataModel->setDive(&displayed_dive, plotInfo);
+ dataModel->setDive(plotInfo);
#ifndef SUBSURFACE_MOBILE
toolTipItem->setPlotInfo(plotInfo);
#endif