From 48231488bd70121583199397bee5ab964ef55017 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Tue, 15 Jan 2013 19:07:36 +0100 Subject: [PATCH] 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. --- src/kitemviews/private/kfileitemmodelsortalgorithm.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/kitemviews/private/kfileitemmodelsortalgorithm.h b/src/kitemviews/private/kfileitemmodelsortalgorithm.h index 278c69469f..1d56894325 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