┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index fa9835480..a2f99a243 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -488,6 +488,12 @@ void DolphinMainWindow::slotUndoTextChanged(const QString& text)
}
}
+void DolphinMainWindow::undo()
+{
+ clearStatusBar();
+ KonqUndoManager::self()->undo();
+}
+
void DolphinMainWindow::cut()
{
QMimeData* mimeData = new QMimeData();
@@ -973,7 +979,7 @@ void DolphinMainWindow::setupActions()
KStandardAction::quit(this, SLOT(quit()), actionCollection());
// setup 'Edit' menu
- KStandardAction::undo(KonqUndoManager::self(),
+ KStandardAction::undo(this,
SLOT(undo()),
actionCollection());