Commit dbf0f645 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Utilize KFileItemActions::addActionsTo method from KIO

parent 94c1fe62
Pipeline #42607 passed with stage
in 6 minutes and 57 seconds
......@@ -497,8 +497,7 @@ void DolphinContextMenu::addAdditionalActions(KFileItemActions &fileItemActions,
if (props.isDirectory() && props.isLocal()) {
additionalActions << m_mainWindow->actionCollection()->action(QStringLiteral("open_terminal"));
fileItemActions.addServiceActionsTo(this, additionalActions);
fileItemActions.addActionsTo(this, KFileItemActions::MenuActionSource::All, additionalActions);
const DolphinView* view = m_mainWindow->activeViewContainer()->view();
const QList<QAction*> versionControlActions = view->versionControlActions(m_selectedItems);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment