┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemmodel.cpp
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-03-10 10:51:24 +0100
committerLaurent Montel <[email protected]>2019-03-10 10:51:27 +0100
commit1aeea4a6abe49a6a4739f77d6c6fdce8fdbe48ad (patch)
tree5143fad5d8c5081548ee423d57623a42fd9a9e89 /src/kitemviews/kfileitemmodel.cpp
parent1a325946174258186b6b8dfeae6dd096d90483f2 (diff)
port to std::stable_sort
Diffstat (limited to 'src/kitemviews/kfileitemmodel.cpp')
-rw-r--r--src/kitemviews/kfileitemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp
index a6d74a77b..fc14c79c1 100644
--- a/src/kitemviews/kfileitemmodel.cpp
+++ b/src/kitemviews/kfileitemmodel.cpp
@@ -1124,7 +1124,7 @@ void KFileItemModel::slotRefreshItems(const QList<QPair<KFileItem, KFileItem> >&
}
// Extract the item-ranges out of the changed indexes
- qSort(indexes);
+ std::sort(indexes.begin(), indexes.end());
const KItemRangeList itemRangeList = KItemRangeList::fromSortedContainer(indexes);
emitItemsChangedAndTriggerResorting(itemRangeList, changedRoles);
}