Explorar o código

Fix review comments. Also consider exclude.lst.

Signed-off-by: allexzander <blackslayer4@gmail.com>
allexzander %!s(int64=4) %!d(string=hai) anos
pai
achega
b150de9106
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)