summaryrefslogtreecommitdiffstats
path: root/qt-ui/downloadfromdivecomputer.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-01-08 11:29:28 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 07:45:30 -0800
commit09d6d4f5deff46999f3739fb8d670ecc867f60f1 (patch)
treeb13530e1ec22dc55708db582e0ba0fd16f6b2a29 /qt-ui/downloadfromdivecomputer.cpp
parentacb51682548a7e7596eb3f8d67ce772d617c06bf (diff)
downloadsubsurface-09d6d4f5deff46999f3739fb8d670ecc867f60f1.tar.gz
Dive d/l selection UI: Create a button to download the data from DC
Now, ok should close the dialog, and not download the dives from the DC, this way the user can choose what happens. 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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp
index e9cb94220..4e4a24f7b 100644
--- a/qt-ui/downloadfromdivecomputer.cpp
+++ b/qt-ui/downloadfromdivecomputer.cpp
@@ -54,6 +54,7 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) :
ui.progressBar->setMinimum(0);
ui.progressBar->setMaximum(100);
diveImportedModel = new DiveImportedModel(this);
+ ui.downloadedView->setModel(diveImportedModel);
progress_bar_text = "";
@@ -270,7 +271,7 @@ void DownloadFromDCWidget::on_cancel_clicked()
updateState(CANCELLING);
}
-void DownloadFromDCWidget::on_ok_clicked()
+void DownloadFromDCWidget::on_startDownload_clicked()
{
updateState(DOWNLOADING);