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>
This commit is contained in:
Tomaz Canabrava 2015-01-08 11:31:05 -02:00 committed by Dirk Hohndel
parent 09d6d4f5de
commit 25323c2717
2 changed files with 5 additions and 4 deletions

View file

@ -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()
{

View file

@ -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);