diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-08 11:53:16 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-08 07:47:11 -0800 |
commit | afafbb3a3e1032e57566d9649871b9ef5037ea29 (patch) | |
tree | fc3312c673cc5521621d8ac6cde1224180e8049b /qt-ui/downloadfromdivecomputer.cpp | |
parent | f5f0938d8cd2193621f0d20d64eb0259c06788bf (diff) | |
download | subsurface-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.cpp | 2 |
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); } |