summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-11-27 21:32:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-03 13:26:55 -0800
commit40311362f323fd8a4d62a0b044dbf2e778654174 (patch)
tree98e75dabc07ca19060854bcb3a952d65f8a03422 /qt-models
parent5e34531e326d8f9b67cddd5f5af34265381be0d0 (diff)
downloadsubsurface-40311362f323fd8a4d62a0b044dbf2e778654174.tar.gz
downloader: save downloaded dives
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/diveimportedmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp
index 118b0a419..0daa7e636 100644
--- a/qt-models/diveimportedmodel.cpp
+++ b/qt-models/diveimportedmodel.cpp
@@ -147,6 +147,7 @@ void DiveImportedModel::startDownload()
void DiveImportedModel::waitForDownload()
{
thread.wait();
+ downloadThreadFinished();
}
std::tuple<struct dive_table, struct dive_site_table, struct device_table> DiveImportedModel::consumeTables()