From c8c7bdbf40a61af2294cd13f05125d513736f704 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Mon, 26 Feb 2024 17:09:38 +0800 Subject: [PATCH] Fix undecided lists in fodlerstatusmodel comment Signed-off-by: Claudio Cambra --- src/gui/folderstatusmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp index a3b3b49f2..702ae998f 100644 --- a/src/gui/folderstatusmodel.cpp +++ b/src/gui/folderstatusmodel.cpp @@ -823,7 +823,7 @@ void FolderStatusModel::slotUpdateDirectories(const QStringList &list) for (const auto undecidedIndex : qAsConst(undecidedIndexes)) { emit suggestExpand(index(undecidedIndex, 0, idx)); } - /* Try to remove the the undecided lists the items that are not on the server. */ + /* Try to remove from the undecided lists the items that are not on the server. */ auto it = std::remove_if(selectiveSyncUndecidedList.begin(), selectiveSyncUndecidedList.end(), [&](const QString &s) { return selectiveSyncUndecidedSet.count(s); }); if (it != selectiveSyncUndecidedList.end()) { -- 2.30.2