Fix review comments. Also consider exclude.lst.

Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
allexzander 2021-06-02 12:49:20 +03:00 committed by Matthieu Gallien (Rebase PR Action)
parent bb55232e8e
commit b150de9106

View file

@ -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)