UI restructure: don't use random dives from the divelist for data

Everything should come from the displayed_dive.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-07-03 14:34:24 -07:00
parent 117b212cdd
commit d8c3113584
4 changed files with 28 additions and 40 deletions

View file

@ -54,7 +54,6 @@ public:
void clear();
void setDive(struct dive *d, const plot_info &pInfo);
const plot_info &data() const;
int id() const;
unsigned int dcShown() const;
double pheMax();
double pn2Max();