From 7c398973fd5ed69504c9b59603aa8f2de8acf507 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 25 Feb 2021 22:30:55 +0100 Subject: 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 --- qt-models/diveplannermodel.cpp | 5 ----- qt-models/diveplannermodel.h | 1 - 2 files changed, 6 deletions(-) (limited to 'qt-models') diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index 967ef3de7..51e3a1101 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -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 { /* diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h index 0b940fbd3..377326b57 100644 --- a/qt-models/diveplannermodel.h +++ b/qt-models/diveplannermodel.h @@ -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; -- cgit v1.2.3-70-g09d2