diff options
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 |
