aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/Resource.h
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-07-14 23:45:40 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-07-14 23:45:40 +0300
commitab10524cd763ab9e7796608d40682fdb70912fd0 (patch)
treeb216ed5330a5a1c79018ad3deb073f5cfac05bb1 /launcher/minecraft/mod/Resource.h
parent1ccfba13ebe11a1d6ea2897db45b47c2452931f5 (diff)
parent37fb52aada16fa8533ecee3932e10fcbee0ca1d5 (diff)
downloadPrismLauncher-ab10524cd763ab9e7796608d40682fdb70912fd0.tar.gz
PrismLauncher-ab10524cd763ab9e7796608d40682fdb70912fd0.tar.bz2
PrismLauncher-ab10524cd763ab9e7796608d40682fdb70912fd0.zip
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into export
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
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(); }