cleanup: remove unused function DivePlannerPointsModel::size()

This is not a virtual function and does not seem to be called
anywhere..?

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-02-25 22:30:55 +01:00 committed by Dirk Hohndel
parent 93ec9f11e8
commit 7c398973fd
2 changed files with 0 additions and 6 deletions

View file

@ -885,11 +885,6 @@ void DivePlannerPointsModel::editStop(int row, divedatapoint newData)
emit dataChanged(createIndex(row, 0), createIndex(row, COLUMNS - 1));
}
int DivePlannerPointsModel::size() const
{
return divepoints.size();
}
divedatapoint DivePlannerPointsModel::at(int row) const
{
/*

View file

@ -57,7 +57,6 @@ public:
*/
void editStop(int row, divedatapoint newData);
divedatapoint at(int row) const;
int size() const;
struct diveplan &getDiveplan();
void removeDeco();
struct deco_state final_deco_state;