profile2: remove unused varable diveComputer

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-07-14 21:49:59 +02:00 committed by Dirk Hohndel
parent 64d7c5c042
commit 0fbfccd31a

View file

@ -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);