Cleanup: remove shown flag of DiveTripModelTree items

Since we now filter at the model level, items are by definition
shown. No need for a flag.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-02-10 21:00:26 +01:00 committed by Dirk Hohndel
parent 03a6440b2a
commit be3d7bffc6
2 changed files with 3 additions and 8 deletions

View file

@ -137,7 +137,6 @@ private:
struct Item {
dive_or_trip d_or_t;
std::vector<dive *> dives; // std::vector<> instead of QVector for insert() with three iterators
bool shown;
Item(dive_trip *t, const QVector<dive *> &dives);
Item(dive_trip *t, dive *d); // Initialize a trip with one dive
Item(dive *d); // Initialize a top-level dive