From 2f47863c68bb0ac0417eed76f713ced651a4908a Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 11 Feb 2009 20:45:12 +0000 Subject: - allow the view implementations to attach custom actions to the context menu - let the "details view" show the "[x] Expandable Folders" action in the context menu CCMAIL: faure@kde.org svn path=/trunk/KDE/kdebase/apps/; revision=924867 --- src/dolphincontroller.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/dolphincontroller.cpp') diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp index 92110643c..b128c9033 100644 --- a/src/dolphincontroller.cpp +++ b/src/dolphincontroller.cpp @@ -74,10 +74,11 @@ void DolphinController::triggerUrlChangeRequest(const KUrl& url) } } -void DolphinController::triggerContextMenuRequest(const QPoint& pos) +void DolphinController::triggerContextMenuRequest(const QPoint& pos, + const QList& customActions) { emit activated(); - emit requestContextMenu(pos); + emit requestContextMenu(pos, customActions); } void DolphinController::requestActivation() -- cgit v1.3