mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Don't show tanks that aren't used during a dive
Some dive computers will always download all tanks that they store, not just the ones used in a dive. Most people only want to see the tanks that they actually used during the dive (and for the others there's an option to go back to the old behavior, just in case). All this is only in memory / during runtime. If the dive computer provided the extra data we will not throw it away. Fixes #373 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f43a3052cb
commit
23973e8abd
9 changed files with 48 additions and 2 deletions
|
@ -47,6 +47,7 @@ public:
|
|||
/*reimp*/ bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
|
||||
const QString& biggerString() const;
|
||||
void clear();
|
||||
public slots:
|
||||
void update();
|
||||
private:
|
||||
int rows;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue