summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-08 19:29:47 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-11 16:25:32 -0700
commit6137e0bc60691f4b6542cd6bc97fe0106126f728 (patch)
tree5912a9f5d74757f4aaeb38faeefea7d7e933d9f2 /qt-models/divelocationmodel.h
parentf39596df0628c567f2ffd45cfa5fe809fbb7cf75 (diff)
downloadsubsurface-6137e0bc60691f4b6542cd6bc97fe0106126f728.tar.gz
Cleanup: Remove SsrfFilterSortProxyModel
SsrfFilterSortProxyModel was a thin wrapper around QFilterSortProxyModel, which was intended as a convenience class to avoid deriving from the latter. The filter and sort functions were replaced by simple function pointers. Unfortunately, by using function-pointers, the whole thing was rather weak as these functions do not have state. The last user was removed in ac8dcd7f65b78958587ba025280ed4c529b0b519. Therefore, remove the whole class. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r--qt-models/divelocationmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h
index 048b2c0a3..fe78854b9 100644
--- a/qt-models/divelocationmodel.h
+++ b/qt-models/divelocationmodel.h
@@ -4,9 +4,9 @@
#include <QAbstractTableModel>
#include <QStringListModel>
+#include <QSortFilterProxyModel>
#include <stdint.h>
#include "core/units.h"
-#include "ssrfsortfilterproxymodel.h"
#define RECENTLY_ADDED_DIVESITE 1