diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-04-13 16:47:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 16:47:44 +0300 |
commit | 4033411ffadb7d9491fafe89a2dc72f47173897e (patch) | |
tree | 4583f645f7a13f45ace8af34f9543b545f427cbd /src/gui/ignorelisteditor.cpp | |
parent | 5205defcd23a65d4e7ed889e005d082745bf340b (diff) |
Use the folder object directly instead of looking it up by its name (#9583)
Diffstat (limited to 'src/gui/ignorelisteditor.cpp')
-rw-r--r-- | src/gui/ignorelisteditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ignorelisteditor.cpp b/src/gui/ignorelisteditor.cpp index f6882e300..dd030dab7 100644 --- a/src/gui/ignorelisteditor.cpp +++ b/src/gui/ignorelisteditor.cpp @@ -119,7 +119,7 @@ void IgnoreListEditor::slotUpdateLocalIgnoreList() // We need to force a remote discovery after a change of the ignore list. // Otherwise we would not download the files/directories that are no longer // ignored (because the remote etag did not change) (issue #3172) - for (auto *folder : folderMan->map()) { + for (auto *folder : folderMan->folders()) { folder->journalDb()->forceRemoteDiscoveryNextSync(); folder->reloadExcludes(); folder->slotNextSyncFullLocalDiscovery(); |