summaryrefslogtreecommitdiffstats
path: root/logic/BaseInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-07 22:24:15 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-13 00:06:31 +0200
commitc7398dfdc581fbf36205fa826ad2aeadcd9b0122 (patch)
tree4aa331c389c2aa4c0148354d600b556b5073ffca /logic/BaseInstance.cpp
parent0220fe4f9d7f07fa137a11597b3465c76cfbcae3 (diff)
downloadMultiMC-c7398dfdc581fbf36205fa826ad2aeadcd9b0122.tar
MultiMC-c7398dfdc581fbf36205fa826ad2aeadcd9b0122.tar.gz
MultiMC-c7398dfdc581fbf36205fa826ad2aeadcd9b0122.tar.lz
MultiMC-c7398dfdc581fbf36205fa826ad2aeadcd9b0122.tar.xz
MultiMC-c7398dfdc581fbf36205fa826ad2aeadcd9b0122.zip
GH-228 do not recurse into reparse points when deleting instances
Diffstat (limited to 'logic/BaseInstance.cpp')
-rw-r--r--logic/BaseInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/BaseInstance.cpp b/logic/BaseInstance.cpp
index 69bc7597..1c6d3e4b 100644
--- a/logic/BaseInstance.cpp
+++ b/logic/BaseInstance.cpp
@@ -61,7 +61,7 @@ void BaseInstance::iconUpdated(QString key)
void BaseInstance::nuke()
{
- QDir(instanceRoot()).removeRecursively();
+ deletePath(instanceRoot());
emit nuked(this);
}