diff options
| author | Peter Penz <[email protected]> | 2007-03-15 22:42:21 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-15 22:42:21 +0000 |
| commit | 1cdb64a12bf5e6f3b97d38992799ba6bfbb06ef5 (patch) | |
| tree | a037da905c5c5b39c3dc5719f428f325091c1efe /src/dolphinview.cpp | |
| parent | 242bda1eaddd863b12afe8f3da7cf11d98475ccb (diff) | |
Don't force the context menu to be valid only for DolphinView instances, make it possible to have it also inside the treeview sidebar.
svn path=/trunk/KDE/kdebase/apps/; revision=642953
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index da8aa3c82..8f06d3dc8 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -973,7 +973,10 @@ void DolphinView::openContextMenu(const QPoint& pos) item = fileItem(index); } - DolphinContextMenu contextMenu(this, item); + DolphinContextMenu contextMenu(m_mainWindow, + item, + url(), + selectedItems()); contextMenu.open(); } |
