summaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profilegraphics.cpp')
-rw-r--r--qt-ui/profilegraphics.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index 74a8857e2..d19623a4a 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -321,14 +321,6 @@ void ProfileGraphicsView::plot(struct dive *d, bool forceRedraw)
plot_pp_text();
}
- /* now shift the translation back by half the margin;
- * this way we can draw the vertical scales on both sides */
- //cairo_translate(gc->cr, -drawing_area->x / 2.0, 0);
-
- //gc->maxx += drawing_area->x;
- //gc->leftx = -(drawing_area->x / drawing_area->width) / 2.0;
- //gc->rightx = 1.0 - gc->leftx;
-
plot_depth_scale();
#if 0