fix: only remove orphaned metadata on first opening

This avoids deleting the metadata while one is updating their mods.

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow 2022-08-11 13:00:09 -03:00
parent c375e7b4df
commit 2f5e55bea0
No known key found for this signature in database
GPG key ID: 8D0F221F0A59F469
4 changed files with 18 additions and 10 deletions

View file

@ -172,6 +172,7 @@ protected:
bool interaction_disabled = false;
QDir m_dir;
bool m_is_indexed;
bool m_first_folder_load = true;
QMap<QString, int> modsIndex;
QMap<int, LocalModParseTask::ResultPtr> activeTickets;
int nextResolutionTicket = 0;