From: Claudio Cambra Date: Mon, 26 Feb 2024 09:09:38 +0000 (+0800) Subject: Fix undecided lists in fodlerstatusmodel comment X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~7^2~117^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c8c7bdbf40a61af2294cd13f05125d513736f704;p=nextcloud-desktop.git Fix undecided lists in fodlerstatusmodel comment Signed-off-by: Claudio Cambra --- 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()) {