|
|
@@ -482,7 +482,8 @@ bool FileSystem::isLnkFile(const QString &filename)
|
|
|
|
|
|
bool FileSystem::isExcludeFile(const QString &filename)
|
|
|
{
|
|
|
- return filename.endsWith(QStringLiteral("sync-exclude.lst")) || filename.endsWith(QStringLiteral("exclude.lst"));
|
|
|
+ return filename.compare(QStringLiteral(".sync-exclude.lst"), Qt::CaseInsensitive) == 0
|
|
|
+ || filename.compare(QStringLiteral("exclude.lst"), Qt::CaseInsensitive) == 0;
|
|
|
}
|
|
|
|
|
|
bool FileSystem::isJunction(const QString &filename)
|