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>
This commit is contained in:
Berthold Stoeger 2021-01-11 16:17:34 +01:00 committed by Dirk Hohndel
parent 5ddb5ada27
commit 5e1dcb0655
3 changed files with 3 additions and 3 deletions

View file

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