mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Create a version of create_graph_info that doesn't depend on GC.
This version of the create plot info is the same as before, with the difference that it doesn't depends on the gc. Also fixed a crash. The Pressure Index, Information and interpolated seems wrong, I'm getting only zeroes. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0787347691
commit
779c1b6738
4 changed files with 21 additions and 1 deletions
|
@ -277,6 +277,7 @@ void ProfileWidget2::plotDives(QList<dive*> dives)
|
|||
* shown.
|
||||
*/
|
||||
struct plot_info pInfo = calculate_max_limits_new(d, currentdc);
|
||||
create_plot_info_new(d, currentdc, &pInfo);
|
||||
int maxtime = get_maxtime(&pInfo);
|
||||
int maxdepth = get_maxdepth(&pInfo);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue