diff options
| author | Peter Penz <[email protected]> | 2008-03-29 14:54:56 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-03-29 14:54:56 +0000 |
| commit | c33b01efb2aed904af9ffaef27fb3b0b4bdda37b (patch) | |
| tree | 8de624beb23caaf5296e4bf3428d8e92174fc689 /src/dolphinmainwindow.cpp | |
| parent | 6816615900b3175ceccaa1b85f318d4a8f5f1230 (diff) | |
Move the pasteIntoFolder() method from the contextmenu into DolphinView. This allows to show the information inside the statusbar, that the paste operation has been completed (also some code duplication can be prevented by the way).
svn path=/trunk/KDE/kdebase/apps/; revision=791436
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 2db562ad1..126591b6c 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -87,7 +87,9 @@ DolphinMainWindow::DolphinMainWindow(int id) : m_showMenuBar(0), m_splitter(0), m_activeViewContainer(0), - m_id(id) + m_id(id), + m_viewContainer(), + m_actionHandler(0) { setObjectName("Dolphin#"); m_viewContainer[PrimaryView] = 0; @@ -162,6 +164,11 @@ void DolphinMainWindow::dropUrls(const KUrl::List& urls, dropController.dropUrls(urls, destination); } +void DolphinMainWindow::pasteIntoFolder() +{ + m_activeViewContainer->view()->pasteIntoFolder(); +} + void DolphinMainWindow::changeUrl(const KUrl& url) { DolphinViewContainer* view = activeViewContainer(); |
