aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-02-25 22:30:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-04-02 13:53:23 -0700
commit7c398973fd5ed69504c9b59603aa8f2de8acf507 (patch)
tree422d23cfb20090dc2eb6f079b2f43a7c5f5b2fb8 /qt-models
parent93ec9f11e88c2ff284aced529ddb52fcda598119 (diff)
downloadsubsurface-7c398973fd5ed69504c9b59603aa8f2de8acf507.tar.gz
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>
Diffstat (limited to 'qt-models')
-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;