aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-07-14 21:49:59 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-14 18:33:57 -0700
commit0fbfccd31a2ed319f36f9121ab195fb6f14868fd (patch)
treee418ffa7720693d0dae4c4bdb4d5b7428e89b5d9 /qt-ui/profile/profilewidget2.cpp
parent64d7c5c04251132f98c2f4814d16a05c5adbe8f2 (diff)
downloadsubsurface-0fbfccd31a2ed319f36f9121ab195fb6f14868fd.tar.gz
profile2: remove unused varable diveComputer
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 6c1991aee..7863679cb 100644
--- a/qt-ui/profile/profilewidget2.cpp
+++ b/qt-ui/profile/profilewidget2.cpp
@@ -1037,7 +1037,6 @@ void ProfileWidget2::changeGas()
QPointF scenePos = mapToScene(mapFromGlobal(action->data().toPoint()));
QString gas = action->text();
// backup the things on the dataModel, since we will clear that out.
- unsigned int diveComputer = dataModel->dcShown();
struct gasmix gasmix;
int seconds = timeAxis->valueAt(scenePos);