diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-10 20:54:47 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-22 15:18:31 -0800 |
commit | ae5d2e6b4543d13bb432220c6cc06286085623ad (patch) | |
tree | 2b849d9817e202c49636f5226f1b7e45902d0450 /qt-models/divetripmodel.h | |
parent | 77a1c7c1f40fd9c884c4f6323ed30c1516c93c71 (diff) | |
download | subsurface-ae5d2e6b4543d13bb432220c6cc06286085623ad.tar.gz |
Cleanup: remove DiveTripModelBase::sendShownChangedSignals()
This was used by the old filtering code. This is not necessary
anymore.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r-- | qt-models/divetripmodel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h index 72362f938..ba6ba9600 100644 --- a/qt-models/divetripmodel.h +++ b/qt-models/divetripmodel.h @@ -90,7 +90,6 @@ protected: // Access trip and dive data static QVariant diveData(const struct dive *d, int column, int role); static QVariant tripData(const dive_trip *trip, int column, int role); - void sendShownChangedSignals(const std::vector<char> &changed, quintptr parentIndex); virtual dive *diveOrNull(const QModelIndex &index) const = 0; // Returns a dive if this index represents a dive, null otherwise virtual void clearData() = 0; @@ -127,7 +126,6 @@ private: void divesShown(dive_trip *trip, const QVector<dive *> &dives); void divesHidden(dive_trip *trip, const QVector<dive *> &dives); void divesTimeChangedTrip(dive_trip *trip, timestamp_t delta, const QVector<dive *> &dives); - bool calculateFilterForTrip(const std::vector<dive *> &dives, const DiveFilter *filter, quintptr parentIndex); // The tree model has two levels. At the top level, we have either trips or dives // that do not belong to trips. Such a top-level item is represented by the "Item" |