diff options
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 32d5a407f..59c2e5e3c 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -190,10 +190,11 @@ void DolphinViewContainer::renameSelectedItems() { DolphinViewContainer* view = m_mainWindow->activeViewContainer(); const KUrl::List urls = m_view->selectedUrls(); + const QList<KFileItem> items = m_view->selectedItems(); if (urls.count() > 1) { // More than one item has been selected for renaming. Open // a rename dialog and rename all items afterwards. - RenameDialog dialog(urls); + RenameDialog dialog(urls, items); if (dialog.exec() == QDialog::Rejected) { return; } @@ -238,7 +239,7 @@ void DolphinViewContainer::renameSelectedItems() // TODO: Think about using KFileItemDelegate as soon as it supports editing. // Currently the RenameDialog is used, but I'm not sure whether inline renaming // is a benefit for the user at all -> let's wait for some input first... - RenameDialog dialog(urls); + RenameDialog dialog(urls, items); if (dialog.exec() == QDialog::Rejected) { return; } |
