diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-08 11:31:05 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-08 07:45:58 -0800 |
commit | 25323c271747abbd7cdcd7487ee12a7dac72eda5 (patch) | |
tree | f65f44b99a66039ad24278273c6cc2877e025f95 /qt-ui/downloadfromdivecomputer.cpp | |
parent | 09d6d4f5deff46999f3739fb8d670ecc867f60f1 (diff) | |
download | subsurface-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.cpp | 8 |
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() { |