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:
parent
891839d254
commit
02ef58a48b
@ -993,7 +993,6 @@ void DivePlannerPointsModel::clear()
|
||||
{
|
||||
bool oldRecalc = setRecalc(false);
|
||||
|
||||
cylinders.updateDive(&displayed_dive);
|
||||
beginResetModel();
|
||||
divepoints.clear();
|
||||
endResetModel();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user