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. --- depends/util/include/pathutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'depends/util/include') diff --git a/depends/util/include/pathutils.h b/depends/util/include/pathutils.h index 2cc65db5..a506280e 100644 --- a/depends/util/include/pathutils.h +++ b/depends/util/include/pathutils.h @@ -51,7 +51,7 @@ LIBUTIL_EXPORT bool ensureFilePathExists(QString filenamepath); */ LIBUTIL_EXPORT bool ensureFolderPathExists(QString filenamepath); -LIBUTIL_EXPORT bool copyPath(QString src, QString dst); +LIBUTIL_EXPORT bool copyPath(QString src, QString dst, bool follow_symlinks = true); /// Opens the given file in the default application. LIBUTIL_EXPORT void openFileInDefaultProgram(QString filename); -- cgit v1.2.3