diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-18 18:09:03 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-02-18 18:09:03 -0500 |
| commit | 75cd8b3bab3e4d094565748215013ee78c9962d9 (patch) | |
| tree | b0eb3365f79d090cf13a3144acc1f1b379140dec /src/modinfo.cpp | |
| parent | e749b2072601830c11495ce210907391dfe7bc6b (diff) | |
added more timings
missed fileregisterfwd.h in cmake list
Diffstat (limited to 'src/modinfo.cpp')
| -rw-r--r-- | src/modinfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modinfo.cpp b/src/modinfo.cpp index d971f150..5c381830 100644 --- a/src/modinfo.cpp +++ b/src/modinfo.cpp @@ -251,6 +251,8 @@ void ModInfo::updateFromDisc(const QString &modDirectory, bool displayForeign, MOBase::IPluginGame const *game) { + TimeThis tt("updateFromDisc()"); + QMutexLocker lock(&s_Mutex); s_Collection.clear(); s_NextID = 0; |
