diff options
author | allexzander <blackslayer4@gmail.com> | 2021-06-02 12:49:20 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2021-06-08 12:25:43 +0300 |
commit | b150de9106af7b1934844e91a0d6fe0e891a2c3a (patch) | |
tree | 2962317668d78a83e3256410402fbaa0f906f354 /src/common | |
parent | bb55232e8ee6afbbfce5effda76961d6444f7926 (diff) |
Fix review comments. Also consider exclude.lst.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/filesystembase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/filesystembase.cpp b/src/common/filesystembase.cpp index ffc7bca4f..798c20317 100644 --- a/src/common/filesystembase.cpp +++ b/src/common/filesystembase.cpp @@ -482,7 +482,7 @@ bool FileSystem::isLnkFile(const QString &filename) bool FileSystem::isExcludeFile(const QString &filename) { - return filename.endsWith(QLatin1String(".sync-exclude.lst")); + return filename.endsWith(QStringLiteral("sync-exclude.lst")) || filename.endsWith(QStringLiteral("exclude.lst")); } bool FileSystem::isJunction(const QString &filename) |