From 054406b420c7a4bbabbe839f25966fa121adfb5f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 7 Oct 2013 13:43:17 -0700 Subject: Remove even more code and declarations There's lots more stuff that can go. Signed-off-by: Dirk Hohndel --- qt-ui/profilegraphics.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'qt-ui') 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 -- cgit v1.2.3-70-g09d2