aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/downloadfromdivecomputer.cpp3
-rw-r--r--qt-ui/downloadfromdivecomputer.h2
2 files changed, 3 insertions, 2 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);
diff --git a/qt-ui/downloadfromdivecomputer.h b/qt-ui/downloadfromdivecomputer.h
index 8ab7e3651..a23beb0f1 100644
--- a/qt-ui/downloadfromdivecomputer.h
+++ b/qt-ui/downloadfromdivecomputer.h
@@ -59,7 +59,7 @@ public:
public
slots:
- void on_ok_clicked();
+ void on_startDownload_clicked();
void on_cancel_clicked();
void on_search_clicked();
void on_vendor_currentIndexChanged(const QString &vendor);