diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-10 21:00:26 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-22 15:18:31 -0800 |
commit | be3d7bffc610a0e6e70cd00919197a0adf213d70 (patch) | |
tree | 42fe8e57849f0716499d4a02e380308bd16f6910 /qt-models/divetripmodel.h | |
parent | 03a6440b2a1001d0ab1ff7958d42217dd07b1603 (diff) | |
download | subsurface-be3d7bffc610a0e6e70cd00919197a0adf213d70.tar.gz |
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>
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r-- | qt-models/divetripmodel.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h index 4182f0bd1..39589a8e6 100644 --- a/qt-models/divetripmodel.h +++ b/qt-models/divetripmodel.h @@ -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 |