summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-01-08 11:31:05 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 07:45:58 -0800
commit25323c271747abbd7cdcd7487ee12a7dac72eda5 (patch)
treef65f44b99a66039ad24278273c6cc2877e025f95 /qt-ui/downloadfromdivecomputer.cpp
parent09d6d4f5deff46999f3739fb8d670ecc867f60f1 (diff)
downloadsubsurface-25323c271747abbd7cdcd7487ee12a7dac72eda5.tar.gz
Dive d/l selection UI: Hook up OK button
Create an on_ok_clicked that will do the actuall parsing of choosen dives. 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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index 4e4a24f7b..abc6fff91 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -402,8 +402,9 @@ void DownloadFromDCWidget::onDownloadThreadFinished()
updateState(CANCELLED);
}
}
-/*
- * This needs to get moved somewhere else.
+
+void DownloadFromDCWidget::on_ok_clicked()
+{
int uniqId, idx;
// remember the last downloaded dive (on most dive computers this will be the chronologically
// first new dive) and select it again after processing all the dives
@@ -421,8 +422,7 @@ void DownloadFromDCWidget::onDownloadThreadFinished()
QString dcName = data.devname;
if (ostcFirmwareCheck && currentState == DONE)
ostcFirmwareCheck->checkLatest(this, &data);
-
-*/
+}
void DownloadFromDCWidget::markChildrenAsDisabled()
{