diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-08 11:29:28 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-08 07:45:30 -0800 |
commit | 09d6d4f5deff46999f3739fb8d670ecc867f60f1 (patch) | |
tree | b13530e1ec22dc55708db582e0ba0fd16f6b2a29 /qt-ui/downloadfromdivecomputer.cpp | |
parent | acb51682548a7e7596eb3f8d67ce772d617c06bf (diff) | |
download | subsurface-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.cpp | 3 |
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); |