Skip to content

Commit

Permalink
Don't use foreach in Folder::removeLocalE2eFiles
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Jan 3, 2023
1 parent 317c72c commit 543d9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/folder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ void Folder::removeLocalE2eFiles()
if (isBusy()) {
slotTerminateSync();
}
foreach (const auto &it, changes) {
for (const auto &it : changes) {
_journal.schedulePathForRemoteDiscovery(it);
schedulePathForLocalDiscovery(it);
}
Expand Down

0 comments on commit 543d9d7

Please sign in to comment.