aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-10-18 15:27:53 +0200
committerGitHub <noreply@github.com>2022-10-18 15:27:53 +0200
commit194822f11eef051c2f323a8e31cd785876a4dbcf (patch)
tree589593bc2275a71c19e200c06be2ef34b18cf7c6 /launcher/FileSystem.cpp
parent98963d4cdf94b173c68bb7c67feb68f6a73d4495 (diff)
parent82d7f9f5a46fe0d66aa907825cf784efc13f8792 (diff)
downloadPrismLauncher-194822f11eef051c2f323a8e31cd785876a4dbcf.tar.gz
PrismLauncher-194822f11eef051c2f323a8e31cd785876a4dbcf.tar.bz2
PrismLauncher-194822f11eef051c2f323a8e31cd785876a4dbcf.zip
Merge pull request #28 from flowln/fix_copy
Diffstat (limited to 'launcher/FileSystem.cpp')
-rw-r--r--launcher/FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp
index c2db0dbc..39e68c20 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -187,7 +187,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();