From 57b77c90b9dad6a114a13fe08b8ae7b986039de8 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 14 Aug 2019 17:52:36 +0200 Subject: Cleanup: remove DiveListSortModel::addAllDives() This function was never used. Signed-off-by: Berthold Stoeger --- qt-models/divelistmodel.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'qt-models/divelistmodel.cpp') 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(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 -- cgit v1.2.3-70-g09d2