Merge pull request #1044 from flowln/better_orphan_fix

This commit is contained in:
Sefa Eyeoglu
2022-08-20 12:50:43 +02:00
parent d68d5ca23f
commit c116885ab1
4 changed files with 18 additions and 10 deletions

View File

@ -56,7 +56,7 @@ public:
}
public:
ModFolderLoadTask(QDir& mods_dir, QDir& index_dir, bool is_indexed);
ModFolderLoadTask(QDir& mods_dir, QDir& index_dir, bool is_indexed, bool clean_orphan = false);
void run();
signals:
void succeeded();
@ -67,5 +67,6 @@ private:
private:
QDir& m_mods_dir, m_index_dir;
bool m_is_indexed;
bool m_clean_orphan;
ResultPtr m_result;
};