summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-01-08 11:53:16 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 07:47:11 -0800
commitafafbb3a3e1032e57566d9649871b9ef5037ea29 (patch)
treefc3312c673cc5521621d8ac6cde1224180e8049b /qt-ui/downloadfromdivecomputer.cpp
parentf5f0938d8cd2193621f0d20d64eb0259c06788bf (diff)
downloadsubsurface-afafbb3a3e1032e57566d9649871b9ef5037ea29.tar.gz
Dive d/l selection UI: Remove unused variable
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index 465d19a42..08ba9408d 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -422,7 +422,7 @@ void DownloadFromDCWidget::on_ok_clicked()
// (but not visible as selected)
MainWindow::instance()->dive_list()->unselectDives();
MainWindow::instance()->dive_list()->selectDive(idx, true);
- QString dcName = data.devname;
+
if (ostcFirmwareCheck && currentState == DONE)
ostcFirmwareCheck->checkLatest(this, &data);
}