cleanup: remove pointless cylinder model update

In DivePlannerPointsModel::clear(), the cylinder model is
updated before it is cleared. This must be an artifact.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-01-25 16:15:30 +01:00 committed by Dirk Hohndel
parent 891839d254
commit 02ef58a48b

View file

@ -993,7 +993,6 @@ void DivePlannerPointsModel::clear()
{
bool oldRecalc = setRecalc(false);
cylinders.updateDive(&displayed_dive);
beginResetModel();
divepoints.clear();
endResetModel();