diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-11-10 19:04:42 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-11-12 20:28:30 +0100 |
commit | fe94c3609ef875166b71b9f6c540c45eff97a5ab (patch) | |
tree | 4d84b18c8639233c47e6fc37bfc673489abdbf03 /launcher/FileSystem.cpp | |
parent | 173aed7fd8e73b9e6a6055981ce284ea9cf5d33a (diff) | |
download | PrismLauncher-fe94c3609ef875166b71b9f6c540c45eff97a5ab.tar.gz PrismLauncher-fe94c3609ef875166b71b9f6c540c45eff97a5ab.tar.bz2 PrismLauncher-fe94c3609ef875166b71b9f6c540c45eff97a5ab.zip |
fix: implement code review suggestions
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/FileSystem.cpp')
-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 06691fbf..0c6527b1 100644 --- a/launcher/FileSystem.cpp +++ b/launcher/FileSystem.cpp @@ -175,7 +175,7 @@ bool copy::operator()(const QString& offset, bool dryRun) // Function that'll do the actual copying auto copy_file = [&](QString src_path, QString relative_dst_path) { - if (m_matcher && (m_matcher->matches(relative_dst_path) == !m_whitelist)) + if (m_matcher && (m_matcher->matches(relative_dst_path) != m_whitelist)) return; auto dst_path = PathCombine(dst, relative_dst_path); |