From eddc30a47f3daefbe4ef29b5de261a1e18949dd3 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Thu, 22 May 2025 03:38:39 -0500 Subject: Dependency Updates Meta PR (#2242) * Update dll manifests * Fixes for emit / model refresh issues --- src/downloadmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/downloadmanager.cpp') 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, -- cgit v1.3.1