aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-models/diveplannermodel.cpp5
-rw-r--r--qt-models/diveplannermodel.h1
2 files changed, 0 insertions, 6 deletions
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;