diff options
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 7dbebeab5..e60f6f655 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -263,7 +263,7 @@ void DolphinView::renameSelectedItems() else if (KIO::NetAccess::file_move(source, dest)) { // TODO: From the users point of view he executed one 'rename n files' operation, // but internally we store it as n 'rename 1 file' operations for the undo mechanism. - DolphinCommand command(DolphinCommand::Rename, source, dest, mainWindow()); + DolphinCommand command(DolphinCommand::Rename, source, dest); undoMan.addCommand(command); } } @@ -569,7 +569,7 @@ void DolphinView::rename(const KUrl& source, const QString& newName) m_statusBar->setMessage(i18n("Renamed file '%1' to '%2'.",source.fileName(), dest.fileName()), DolphinStatusBar::OperationCompleted); - DolphinCommand command(DolphinCommand::Rename, source, dest, mainWindow()); + DolphinCommand command(DolphinCommand::Rename, source, dest); UndoManager::instance().addCommand(command); } else { |
