diff options
| author | Peter Penz <[email protected]> | 2007-06-19 18:58:30 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-06-19 18:58:30 +0000 |
| commit | eaa0ff560b273d785d8f7524bc3ddc597ba14d96 (patch) | |
| tree | 867d21cdcf1a42fcbcb72f764896e1409368c5d8 /src/dolphinview.h | |
| parent | f9f4dbf005f63d9e1d14acbe21beab6e0fc26b36 (diff) | |
when requesting a context menu provide a URL for the viewport, because in the column view this URL can differ from the navigator URL
svn path=/trunk/KDE/kdebase/apps/; revision=677704
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index 1a240be7a..0d8ffea19 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -413,9 +413,12 @@ private slots: /** * Opens the context menu on position \a pos. The position * is used to check whether the context menu is related to an - * item or to the viewport. + * item or to the viewport. If the context menu should be + * opened on the viewport, the URL \a url should be taken + * as viewport URL (the viewport URL can be different from + * DolphinView::url() for e. g. the column view). */ - void openContextMenu(const QPoint& pos); + void openContextMenu(const QPoint& pos, const KUrl& url); /** * Drops the URLs \a urls to the index \a index. \a source |
