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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Verbruggen <erik@verbruggen.consulting>2021-10-07 21:44:24 +0300
committerHannah von Reth <vonreth@kde.org>2021-10-27 15:30:39 +0300
commitf568951c8da2cc7effb4db5778fd1fd69d111380 (patch)
treec562a1d03816810e0b62431e8be9e76d4a6ab5cd /src/gui/folderwatcher_linux.cpp
parentfc815b95fd17ab572c21c9d83bd273851b87906b (diff)
Linux: fix warning logic for sub-folder scanning
Diffstat (limited to 'src/gui/folderwatcher_linux.cpp')
-rw-r--r--src/gui/folderwatcher_linux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderwatcher_linux.cpp b/src/gui/folderwatcher_linux.cpp
index f94c9c4ce..fa5154408 100644
--- a/src/gui/folderwatcher_linux.cpp
+++ b/src/gui/folderwatcher_linux.cpp
@@ -56,7 +56,7 @@ bool FolderWatcherPrivate::findFoldersBelow(const QDir &dir, QStringList &fullLi
for (const QString &path : dir.entryList({ QStringLiteral("*") }, filter)) {
const QString fullPath(dir.path() + QLatin1String("/") + path);
fullList.append(fullPath);
- ok = findFoldersBelow(QDir(fullPath), fullList);
+ ok &= findFoldersBelow(QDir(fullPath), fullList);
}
return ok;
}