From 6840794b57987c5f0baf704327733b68fb92cfc6 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Sun, 16 Oct 2011 20:45:10 +0200 Subject: Sort the items in DolphinView::selectedItems(), part 2 I forgot this change in the last commit. CCBUG:283409 --- src/views/dolphinview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views/dolphinview.cpp') diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 122c18de7..5ff3cb26d 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -343,7 +343,7 @@ KFileItemList DolphinView::selectedItems() const qSort(sortedIndexes); KFileItemList selectedItems; - QSetIterator it(selectedIndexes); + QListIterator it(sortedIndexes); while (it.hasNext()) { const int index = it.next(); selectedItems.append(model->fileItem(index)); -- cgit v1.3