mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Planner: don't filter cylinders
In the planner we used to filter out "unused" cylinders as in the equipment tab. It is unclear whether that makes sense or can even easily be reproduced, since such cylinders have to come from an imported dive. To be on the save side, let's not do this. Replace the CylindersFilteredModel introduced recently by a plain CylindersModel. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
190a2a876e
commit
1336ea755b
4 changed files with 25 additions and 25 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
bool tankInUse(int cylinderid);
|
||||
void setupCylinders();
|
||||
bool updateMaxDepth();
|
||||
CylindersModelFiltered *cylindersModel();
|
||||
CylindersModel *cylindersModel();
|
||||
|
||||
int ascrate75Display();
|
||||
int ascrate50Display();
|
||||
|
@ -129,7 +129,7 @@ private:
|
|||
void computeVariations(struct diveplan *diveplan, const struct deco_state *ds);
|
||||
void computeVariationsFreeDeco(struct diveplan *diveplan, struct deco_state *ds);
|
||||
int analyzeVariations(struct decostop *min, struct decostop *mid, struct decostop *max, const char *unit);
|
||||
CylindersModelFiltered cylinders;
|
||||
CylindersModel cylinders;
|
||||
Mode mode;
|
||||
bool recalc;
|
||||
QVector<divedatapoint> divepoints;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue