aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-07 13:43:17 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-07 13:43:17 -0700
commit054406b420c7a4bbabbe839f25966fa121adfb5f (patch)
tree963cfce87ca794809c32176629ca4b731843c850 /qt-ui/profilegraphics.cpp
parentf8ba3c7ab6f1f67338fdf48ac92b5dfa76120264 (diff)
downloadsubsurface-054406b420c7a4bbabbe839f25966fa121adfb5f.tar.gz
Remove even more code and declarations
There's lots more stuff that can go. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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