From b150de9106af7b1934844e91a0d6fe0e891a2c3a Mon Sep 17 00:00:00 2001 From: allexzander Date: Wed, 2 Jun 2021 12:49:20 +0300 Subject: [PATCH] Fix review comments. Also consider exclude.lst. Signed-off-by: allexzander --- src/common/filesystembase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)