aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profilegraphics.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-10-11 18:52:38 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-11 10:18:07 -0700
commitdd3b8210a98c081e342f8c972a1b3ba58c7ae5a3 (patch)
tree8f2110d12411c037ffe8c528c0396d8f68bb9861 /qt-ui/profilegraphics.cpp
parentdee7bdd1ad8e9f98fd3089c0edbe9accdb01aac5 (diff)
downloadsubsurface-dd3b8210a98c081e342f8c972a1b3ba58c7ae5a3.tar.gz
Remove unused arg in plot_cylinder_pressure
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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/profilegraphics.cpp b/qt-ui/profilegraphics.cpp
index 45d2a077a..c145ff521 100644
--- a/qt-ui/profilegraphics.cpp
+++ b/qt-ui/profilegraphics.cpp
@@ -293,7 +293,7 @@ void ProfileGraphicsView::plot(struct dive *d, bool forceRedraw)
plot_temperature_profile();
/* Cylinder pressure plot */
- plot_cylinder_pressure(dc);
+ plot_cylinder_pressure();
/* Text on top of all graphs.. */
plot_temperature_text();
@@ -691,7 +691,7 @@ void ProfileGraphicsView::plot_single_temp_text(int sec, int mkelvin)
plot_text(&tro, QPointF(sec, mkelvin), QString("%1%2").arg(deg, 0, 'f', 1).arg(unit)); //"%.2g%s"
}
-void ProfileGraphicsView::plot_cylinder_pressure(struct divecomputer *dc)
+void ProfileGraphicsView::plot_cylinder_pressure()
{
int i;
int last = -1, last_index = -1;