Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallexzander <blackslayer4@gmail.com>2021-06-08 09:43:20 +0300
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>2021-06-08 12:25:43 +0300
commit5dd310c21cb710787905e8ad766fb84af5d1d8e4 (patch)
treed30f3ea66d0c756d185626944dfc959ab51afd35 /src/common
parentb150de9106af7b1934844e91a0d6fe0e891a2c3a (diff)
Fix review comments.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/filesystembase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/filesystembase.cpp b/src/common/filesystembase.cpp
index 798c20317..15b838095 100644
--- a/src/common/filesystembase.cpp
+++ b/src/common/filesystembase.cpp
@@ -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)