Merge pull request #1331 from TheKodeToad/hungry-trash

Fix updating trashing resources
This commit is contained in:
seth
2023-07-10 16:31:43 -04:00
committed by Sefa Eyeoglu
parent 6cd259becd
commit 6f86e8b66e
7 changed files with 11 additions and 15 deletions

View File

@ -79,7 +79,7 @@ public:
[[nodiscard]] bool applyFilter(QRegularExpression filter) const override;
// Delete all the files of this mod
auto destroy(QDir& index_dir, bool preserve_metadata = false) -> bool;
auto destroy(QDir& index_dir, bool preserve_metadata = false, bool attempt_trash = true) -> bool;
void finishResolvingWithDetails(ModDetails&& details);