diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-06-04 20:59:08 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-06-19 13:11:10 -0700 |
commit | 3df32044ee46caf518b23cc6359f98501f7ca961 (patch) | |
tree | 860615069cf0b5f36627b0815d374c66e265dbde /core/downloadfromdcthread.cpp | |
parent | f4ef1c4bc8805600e018777f18f3f29682e40c2d (diff) | |
download | subsurface-3df32044ee46caf518b23cc6359f98501f7ca961.tar.gz |
Cleanup: generate clear_*_table() functions by macro
In analogy to the other table functions, generate these by
a macro as well.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r-- | core/downloadfromdcthread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 955431880..1112d6027 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -82,7 +82,7 @@ void DownloadThread::run() #endif qDebug() << "Starting download from " << (internalData->bluetooth_mode ? "BT" : internalData->devname); qDebug() << "downloading" << (internalData->force_download ? "all" : "only new") << "dives"; - clear_table(&downloadTable); + clear_dive_table(&downloadTable); clear_dive_site_table(&diveSiteTable); Q_ASSERT(internalData->download_table != nullptr); |