[PATCH] profile2: remove unused varable diveComputer
Anton Lundin
glance at acc.umu.se
Mon Jul 14 12:49:59 PDT 2014
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
qt-ui/profile/profilewidget2.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp
index 6c1991a..7863679 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);
--
1.9.1
More information about the subsurface
mailing list