diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-16 19:53:39 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-08-16 19:53:39 +0300 |
commit | 589d8b6923531a53cbccabb8b79ed9861d0fe27c (patch) | |
tree | 18623d7c5dbf637f70018f7edceb1884a746d868 /launcher/minecraft/mod/Mod.h | |
parent | 8f5bb982cd27dd9158b63d826769c168455a139b (diff) | |
download | PrismLauncher-589d8b6923531a53cbccabb8b79ed9861d0fe27c.tar.gz PrismLauncher-589d8b6923531a53cbccabb8b79ed9861d0fe27c.tar.bz2 PrismLauncher-589d8b6923531a53cbccabb8b79ed9861d0fe27c.zip |
feat:Added remove metadata button
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/minecraft/mod/Mod.h')
-rw-r--r-- | launcher/minecraft/mod/Mod.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/Mod.h b/launcher/minecraft/mod/Mod.h index 6dafecfc..e97ee9d3 100644 --- a/launcher/minecraft/mod/Mod.h +++ b/launcher/minecraft/mod/Mod.h @@ -93,6 +93,8 @@ class Mod : public Resource { // Delete all the files of this mod auto destroy(QDir& index_dir, bool preserve_metadata = false, bool attempt_trash = true) -> bool; + // Delete the metadata only + void destroyMetadata(QDir& index_dir); void finishResolvingWithDetails(ModDetails&& details); |