From d1aaeab617d4e0372e5e93b6865d3b63ceb1d596 Mon Sep 17 00:00:00 2001 From: David Faure Date: Sun, 20 Apr 2008 22:07:44 +0000 Subject: Fix bug with the UndoUiInterface usage: if more than one mainwindow was used, the statusbar of the wrong window could be used for displaying error messages from the undo manager. svn path=/trunk/KDE/kdebase/apps/; revision=799250 --- src/dolphinmainwindow.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 2f0fb9589..675b08bed 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -391,12 +391,9 @@ private: class UndoUiInterface : public KonqFileUndoManager::UiInterface { public: - UndoUiInterface(DolphinMainWindow* mainWin); + UndoUiInterface(); virtual ~UndoUiInterface(); virtual void jobError(KIO::Job* job); - - private: - DolphinMainWindow* m_mainWin; }; KNewMenu* m_newMenu; -- cgit v1.3