mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
downloader: wait for download thread
Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
eac59a79d8
commit
5e34531e32
3 changed files with 7 additions and 0 deletions
|
@ -144,6 +144,11 @@ void DiveImportedModel::startDownload()
|
|||
thread.start();
|
||||
}
|
||||
|
||||
void DiveImportedModel::waitForDownload()
|
||||
{
|
||||
thread.wait();
|
||||
}
|
||||
|
||||
std::tuple<struct dive_table, struct dive_site_table, struct device_table> DiveImportedModel::consumeTables()
|
||||
{
|
||||
beginResetModel();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue