Pārlūkot izejas kodu

Fix review comments. Also consider exclude.lst.

Signed-off-by: allexzander <blackslayer4@gmail.com>
allexzander 4 gadi atpakaļ
vecāks
revīzija
b150de9106
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/common/filesystembase.cpp

+ 1 - 1
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)