From: Frank Reininghaus Date: Tue, 15 Jan 2013 18:07:36 +0000 (+0100) Subject: Remove incorrect comments about the sorting functions X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/48231488bd70121583199397bee5ab964ef55017?ds=inline Remove incorrect comments about the sorting functions In fact, we could use the sorting functions provided by Qt or the STL. The reason why we have our own is that we want to support parallel sorting because sorting many items naturally by name can be expensive. --- diff --git a/src/kitemviews/private/kfileitemmodelsortalgorithm.h b/src/kitemviews/private/kfileitemmodelsortalgorithm.h index 278c69469..1d5689432 100644 --- a/src/kitemviews/private/kfileitemmodelsortalgorithm.h +++ b/src/kitemviews/private/kfileitemmodelsortalgorithm.h @@ -32,8 +32,6 @@ * * The implementation is based on qStableSortHelper() from qalgorithms.h * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). - * The sorting implementations of qAlgorithms could not be used as they - * don't support having a member-function as comparison criteria. */ template @@ -95,8 +93,6 @@ static void parallelMergeSort(RandomAccessIterator begin, * * The implementation is based on qMerge() from qalgorithms.h * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). - * The sorting implementations of qAlgorithms could not be used as they - * don't support having a member-function as comparison criteria. */ template