summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-14 17:52:36 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-09-14 13:20:59 +0200
commit57b77c90b9dad6a114a13fe08b8ae7b986039de8 (patch)
treece9596269fada8eb37c8f0359ec8e8421ae7db67 /qt-models/divelistmodel.cpp
parentf8c5c8bedf9c0af8f031da7fc74c516a40e9e1c6 (diff)
downloadsubsurface-57b77c90b9dad6a114a13fe08b8ae7b986039de8.tar.gz
Cleanup: remove DiveListSortModel::addAllDives()
This function was never used. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divelistmodel.cpp')
-rw-r--r--qt-models/divelistmodel.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/qt-models/divelistmodel.cpp b/qt-models/divelistmodel.cpp
index 385107b6c..79a901282 100644
--- a/qt-models/divelistmodel.cpp
+++ b/qt-models/divelistmodel.cpp
@@ -77,13 +77,6 @@ void DiveListSortModel::clear()
mySourceModel->clear();
}
-void DiveListSortModel::addAllDives()
-{
- DiveListModel *mySourceModel = qobject_cast<DiveListModel *>(sourceModel());
- mySourceModel->addAllDives();
- updateFilterState();
-}
-
// In QML, section headings can only be strings. To identify dives that
// belong to the same trip, a string containing the trip-pointer in hexadecimal
// encoding is passed in. To format the trip heading, the string is then