SVN commit 628910 by ppenz: clear the status bar when doing an undo operation M +7 -1 dolphinmainwindow.cpp M +3 -0 dolphinmainwindow.h --- trunk/playground/utils/dolphin/src/dolphinmainwindow.cpp #628909:628910 @@ -488,6 +488,12 @@ } } +void DolphinMainWindow::undo() +{ + clearStatusBar(); + KonqUndoManager::self()->undo(); +} + void DolphinMainWindow::cut() { QMimeData* mimeData = new QMimeData(); @@ -973,7 +979,7 @@ KStandardAction::quit(this, SLOT(quit()), actionCollection()); // setup 'Edit' menu - KStandardAction::undo(KonqUndoManager::self(), + KStandardAction::undo(this, SLOT(undo()), actionCollection()); --- trunk/playground/utils/dolphin/src/dolphinmainwindow.h #628909:628910 @@ -171,6 +171,9 @@ /** Sets the text of the 'Undo' menu action to \a text. */ void slotUndoTextChanged(const QString& text); + /** Performs the current undo operation. */ + void undo(); + /** * Copies all selected items to the clipboard and marks * the items as cutted.