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

@ -92,7 +92,7 @@ class Resource : public QObject {
}
// Delete all files of this resource.
bool destroy();
bool destroy(bool attemptTrash = true);
[[nodiscard]] auto isSymLink() const -> bool { return m_file_info.isSymLink(); }