From c304ca1bb0eb1e56716d6b828bab2fc6160206dc Mon Sep 17 00:00:00 2001 From: Emmanuel Pescosta Date: Mon, 17 Dec 2012 14:02:22 +0100 Subject: Fix Bug 287829 - inline rename multiple files does not honour sort order BUG: 287829 FIXED-IN: 4.9.5 REVIEW: 107718 --- src/views/renamedialog.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/views/renamedialog.cpp') diff --git a/src/views/renamedialog.cpp b/src/views/renamedialog.cpp index a91f91b1b..65125c3aa 100644 --- a/src/views/renamedialog.cpp +++ b/src/views/renamedialog.cpp @@ -162,11 +162,6 @@ void RenameDialog::slotTextChanged(const QString& newName) void RenameDialog::renameItems() { - // Currently the items are sorted by the selection order, resort - // them by the filename. This assures that the new sort order is similar to - // the current filename sort order. - qSort(m_items.begin(), m_items.end(), lessThan); - // Iterate through all items and rename them... int index = m_spinBox->value(); foreach (const KFileItem& item, m_items) { -- cgit v1.3