From 3db09c5466357671812be41e4486295527c59fcb Mon Sep 17 00:00:00 2001 From: flow Date: Sat, 15 Oct 2022 09:20:31 -0300 Subject: [PATCH] fix: include hidden files when copying instances fixes instance ccopy on linux .-. Signed-off-by: flow Signed-off-by: Lenny McLennington --- launcher/FileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp index 6485a716..9e510d91 100644 --- a/launcher/FileSystem.cpp +++ b/launcher/FileSystem.cpp @@ -203,7 +203,7 @@ bool copy::operator()(const QString& offset) // blacklisted paths, so we iterate over the source directory, and if there's no blacklist // match, we copy the file. if (QDir src_dir(src); src_dir.exists()) { - QDirIterator source_it(src, QDir::Filter::Files, QDirIterator::Subdirectories); + QDirIterator source_it(src, QDir::Filter::Files | QDir::Filter::Hidden, QDirIterator::Subdirectories); while (source_it.hasNext()) { auto src_path = source_it.next();