From 75cd8b3bab3e4d094565748215013ee78c9962d9 Mon Sep 17 00:00:00 2001 From: isanae <14251494+isanae@users.noreply.github.com> Date: Tue, 18 Feb 2020 18:09:03 -0500 Subject: added more timings missed fileregisterfwd.h in cmake list --- src/downloadmanager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/downloadmanager.cpp') diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index a93182b4..4defd96b 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -320,6 +320,8 @@ void DownloadManager::setPluginContainer(PluginContainer *pluginContainer) void DownloadManager::refreshList() { + TimeThis tt("DownloadManager::refreshList()"); + try { //avoid triggering other refreshes startDisableDirWatcher(); @@ -1873,7 +1875,7 @@ void DownloadManager::nxmFileInfoFromMd5Available(QString gameName, QVariant use //Unable to determine the correct mod / file. Revert to the old method if (chosenIdx < 0) { //don't use the normal state set function as we don't want to create a meta file - info->m_State = DownloadManager::STATE_READY; + info->m_State = DownloadManager::STATE_READY; queryInfo(m_ActiveDownloads.indexOf(info)); return; } -- cgit v1.3.1