mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Disable calc_ndl_tts for print
NDL and TTS doesn't show up in the printed profiles, and it takes significant time to calculate, so just don't do it. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
25bfcf5f6d
commit
04bbfe2ab1
3 changed files with 8 additions and 7 deletions
|
@ -403,7 +403,7 @@ void ProfileGraphicsView::plot(struct dive *d, bool forceRedraw)
|
|||
gc.maxy = (profile_grid_area.height() - 2 * profile_grid_area.y());
|
||||
|
||||
/* This is per-dive-computer */
|
||||
gc.pi = *create_plot_info(dive, dc, &gc);
|
||||
gc.pi = *create_plot_info(dive, dc, &gc, printMode);
|
||||
|
||||
/* Bounding box */
|
||||
QPen pen = defaultPen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue