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:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-12-17 12:45:38 +0300
committerHannah von Reth <vonreth@kde.org>2021-12-17 18:28:37 +0300
commitbceac219ce5d47beaa9a35bd64187d0edd63816c (patch)
treece76cb13ce707c7cbcfdb2af579f6c80ec487b63 /src/gui/folder.cpp
parentbd741a92a6b2eec64432744b7b65e2c8b78862be (diff)
Only selectively clear the blacklists
Diffstat (limited to 'src/gui/folder.cpp')
-rw-r--r--src/gui/folder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index 913979377..8ccbf5a37 100644
--- a/src/gui/folder.cpp
+++ b/src/gui/folder.cpp
@@ -602,16 +602,16 @@ void Folder::slotWatchedPathChanged(const QString &path, ChangeReason reason)
return;
}
- auto relativePath = path.mid(this->path().size());
+ const QString relativePath = path.mid(this->path().size());
if (reason == ChangeReason::UnLock) {
- journalDb()->wipeErrorBlacklistEntry(relativePath);
+ journalDb()->wipeErrorBlacklistEntry(relativePath, SyncJournalErrorBlacklistRecord::Category::LocalSoftError);
}
// Add to list of locally modified paths
//
// We do this before checking for our own sync-related changes to make
// extra sure to not miss relevant changes.
- auto relativePathBytes = relativePath.toUtf8();
+ const auto relativePathBytes = relativePath.toUtf8();
_localDiscoveryTracker->addTouchedPath(relativePathBytes);
// The folder watcher fires a lot of bogus notifications during