mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove DiveListSortModel::addAllDives()
This function was never used. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f8c5c8bedf
commit
57b77c90b9
2 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -13,7 +13,6 @@ class DiveListSortModel : public QSortFilterProxyModel
|
|||
public:
|
||||
DiveListSortModel(QObject *parent = 0);
|
||||
void setSourceModel(QAbstractItemModel *sourceModel);
|
||||
Q_INVOKABLE void addAllDives();
|
||||
Q_INVOKABLE void clear();
|
||||
Q_INVOKABLE QVariant tripIdToObject(const QString &s);
|
||||
Q_INVOKABLE QString tripTitle(const QVariant &trip);
|
||||
|
|
Loading…
Add table
Reference in a new issue