Selaa lähdekoodia

Fix review comments. Also consider exclude.lst.

Signed-off-by: allexzander <blackslayer4@gmail.com>
allexzander 4 vuotta sitten
vanhempi
commit
b150de9106
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)