mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: make plotdata::depth depth_t
A small drop in the bucket: more conversion to our unit types. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
851e8bc5ee
commit
94a54d8e35
9 changed files with 97 additions and 104 deletions
|
|
@ -172,7 +172,7 @@ static int depthAtTime(const plot_info &pi, duration_t time)
|
|||
qWarning("can't find a spot in the dataModel");
|
||||
return DEPTH_NOT_FOUND;
|
||||
}
|
||||
return it->depth;
|
||||
return it->depth.mm;
|
||||
}
|
||||
|
||||
bool DiveEventItem::isInteresting(const struct dive *d, const struct divecomputer *dc,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue