From 0220fe4f9d7f07fa137a11597b3465c76cfbcae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 7 Apr 2015 18:16:02 +0200 Subject: GH-228 do not follow symlinks during instance copy on unix Windows will need a more complex solution. --- logic/InstanceList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic') diff --git a/logic/InstanceList.cpp b/logic/InstanceList.cpp index a65d9f56..4e295e7f 100644 --- a/logic/InstanceList.cpp +++ b/logic/InstanceList.cpp @@ -501,7 +501,7 @@ InstanceList::copyInstance(InstancePtr &newInstance, InstancePtr &oldInstance, c QDir rootDir(instDir); qDebug() << instDir.toUtf8(); - if (!copyPath(oldInstance->instanceRoot(), instDir)) + if (!copyPath(oldInstance->instanceRoot(), instDir, false)) { rootDir.removeRecursively(); return InstanceList::CantCreateDir; -- cgit v1.2.3