Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-02-04 16:44:02 +0300
committerHannah von Reth <vonreth@kde.org>2020-02-04 17:19:25 +0300
commit801da236fd89b2855d15db6bf97102aecb80518d (patch)
tree0e1abb390156efa4c7c54a6fa10b76a1359f6044 /src/gui/folderstatusmodel.cpp
parent120c696edbf48538516ea52aee8ad985fc3981a5 (diff)
[Sanity] Remove old ifdef
Diffstat (limited to 'src/gui/folderstatusmodel.cpp')
-rw-r--r--src/gui/folderstatusmodel.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp
index f2af92eed..5484eec3a 100644
--- a/src/gui/folderstatusmodel.cpp
+++ b/src/gui/folderstatusmodel.cpp
@@ -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)