aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/Resource.h
diff options
context:
space:
mode:
authorTheKodeToad <TheKodeToad@proton.me>2023-07-11 11:14:06 +0100
committerGitHub <noreply@github.com>2023-07-11 11:14:06 +0100
commit4c6929038159a29c437b30616daa0b2672531e4d (patch)
treeba99c0783670059b7818aa14d3720f7798081ed7 /launcher/minecraft/mod/Resource.h
parent64c591b234cec2519d8a04b32d4b6e85dcf204da (diff)
parent640aaa8c23d714ce17bc8e78754af6219abc6466 (diff)
downloadPrismLauncher-4c6929038159a29c437b30616daa0b2672531e4d.tar.gz
PrismLauncher-4c6929038159a29c437b30616daa0b2672531e4d.tar.bz2
PrismLauncher-4c6929038159a29c437b30616daa0b2672531e4d.zip
Merge branch 'develop' into better-component-installation
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
Diffstat (limited to 'launcher/minecraft/mod/Resource.h')
-rw-r--r--launcher/minecraft/mod/Resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/mod/Resource.h b/launcher/minecraft/mod/Resource.h
index a5e9ae91..94f3160c 100644
--- a/launcher/minecraft/mod/Resource.h
+++ b/launcher/minecraft/mod/Resource.h
@@ -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(); }