summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-12-04 00:12:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-03 15:22:49 -0800
commit04bbfe2ab18223c8a6d39683212c6eaefbdf66f2 (patch)
tree83a3f001637ccf245ab76948f684e34f5f5e0fad /qt-ui/profilegraphics.cpp
parent25bfcf5f6d0ed9a16705dcd2ae095daf6c852dd1 (diff)
downloadsubsurface-04bbfe2ab18223c8a6d39683212c6eaefbdf66f2.tar.gz
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>
Diffstat (limited to 'qt-ui/profilegraphics.cpp')
-rw-r--r--qt-ui/profilegraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index 0d38a89f9..93ab1e1ab 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -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;