mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
03a6440b2a
commit
be3d7bffc6
2 changed files with 3 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue