mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
[Sanity] Remove old ifdef
This commit is contained in:
parent
120c696edb
commit
801da236fd
@ -721,11 +721,6 @@ void FolderStatusModel::slotUpdateDirectories(const QStringList &list)
|
||||
for (auto it = undecidedIndexes.begin(); it != undecidedIndexes.end(); ++it) {
|
||||
suggestExpand(index(*it, 0, idx));
|
||||
}
|
||||
|
||||
/* We need lambda function for the following code.
|
||||
* It's just a small feature that will be missing if the comiler is too old */
|
||||
#if !(defined(Q_CC_GNU) && !defined(Q_CC_INTEL) && !defined(Q_CC_CLANG)) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 405)
|
||||
|
||||
/* Try to remove the 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); });
|
||||
@ -735,7 +730,6 @@ void FolderStatusModel::slotUpdateDirectories(const QStringList &list)
|
||||
SyncJournalDb::SelectiveSyncUndecidedList, selectiveSyncUndecidedList);
|
||||
emit dirtyChanged();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void FolderStatusModel::slotLscolFinishedWithError(QNetworkReply *r)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user