summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp8
-rw-r--r--qt-ui/downloadfromdivecomputer.h1
2 files changed, 5 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()
{
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index a23beb0f1..b567dfe0e 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -60,6 +60,7 @@ public:
public
slots:
void on_startDownload_clicked();
+ void on_ok_clicked();
void on_cancel_clicked();
void on_search_clicked();
void on_vendor_currentIndexChanged(const QString &vendor);