diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2025-05-22 03:38:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 10:38:39 +0200 |
| commit | eddc30a47f3daefbe4ef29b5de261a1e18949dd3 (patch) | |
| tree | 2f29288944010550270fa0a0130dd37027a346b0 /src/downloadmanager.cpp | |
| parent | 52b37a760c0731f6160bb07e1ab909bbf268c2a6 (diff) | |
Dependency Updates Meta PR (#2242)
* Update dll manifests
* Fixes for emit / model refresh issues
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index 5156c357..7c02b17b 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -332,6 +332,7 @@ void DownloadManager::refreshList() TimeThis tt("DownloadManager::refreshList()"); try { + emit aboutToUpdate(); // avoid triggering other refreshes ScopedDisableDirWatcher scopedDirWatcher(this); @@ -2225,10 +2226,12 @@ void DownloadManager::downloadFinished(int index) "There may be an issue with the Nexus servers.")); emit update(-1); } else if (info->isPausedState() || info->m_State == STATE_PAUSING) { + emit aboutToUpdate(); info->m_Output.close(); createMetaFile(info); emit update(index); } else { + emit aboutToUpdate(); QString url = info->m_Urls[info->m_CurrentUrl]; if (info->m_FileInfo->userData.contains("downloadMap")) { foreach (const QVariant& server, |
