diff options
author | flow <flowlnlnln@gmail.com> | 2022-10-15 09:20:31 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-10-15 09:20:31 -0300 |
commit | 8bc529be3dae2d0a515f55812c24ee669b4f34bf (patch) | |
tree | 31d7972a5701decaee613cfcf90df8bf97903c83 /launcher | |
parent | 924c1634d35e4e10222d12cb69ec11dd8b8af8ac (diff) | |
download | PrismLauncher-8bc529be3dae2d0a515f55812c24ee669b4f34bf.tar.gz PrismLauncher-8bc529be3dae2d0a515f55812c24ee669b4f34bf.tar.bz2 PrismLauncher-8bc529be3dae2d0a515f55812c24ee669b4f34bf.zip |
fix: include hidden files when copying instances
fixes instance ccopy on linux .-.
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/FileSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp index 5d179641..7ab32513 100644 --- a/launcher/FileSystem.cpp +++ b/launcher/FileSystem.cpp @@ -170,7 +170,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. QDir src_dir(src); - 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(); |