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>
This commit is contained in:
Berthold Stoeger 2018-10-08 19:29:47 +02:00 committed by Dirk Hohndel
parent f39596df06
commit 6137e0bc60
4 changed files with 1 additions and 81 deletions

View file

@ -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