summaryrefslogtreecommitdiff
path: root/src/downloadmanager.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-02-18 18:09:03 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-02-18 18:09:03 -0500
commit75cd8b3bab3e4d094565748215013ee78c9962d9 (patch)
treeb0eb3365f79d090cf13a3144acc1f1b379140dec /src/downloadmanager.cpp
parente749b2072601830c11495ce210907391dfe7bc6b (diff)
added more timings
missed fileregisterfwd.h in cmake list
Diffstat (limited to 'src/downloadmanager.cpp')
-rw-r--r--src/downloadmanager.cpp4
1 files changed, 3 insertions, 1 deletions
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;
}