diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-18 18:15:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-18 18:15:35 -0500 |
| commit | d41d57fe07633cc1be70c666e91c7e571afdd28f (patch) | |
| tree | bc84402369d6a1920a7d21349de7233fe21b8531 /src/downloadmanager.cpp | |
| parent | e749b2072601830c11495ce210907391dfe7bc6b (diff) | |
| parent | f9ad6d97098093b5d03e7792798583ea73a1ea65 (diff) | |
Merge pull request #1004 from isanae/timings
More timings
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 4 |
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; } |
