Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
Dolphin
Commits
dbf0f645
Commit
dbf0f645
authored
Nov 28, 2020
by
Alexander Lohnau
💬
Browse files
Utilize KFileItemActions::addActionsTo method from KIO
parent
94c1fe62
Pipeline
#42607
passed with stage
in 6 minutes and 57 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/dolphincontextmenu.cpp
View file @
dbf0f645
...
...
@@ -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
.
addPluginActionsTo
(
this
);
fileItemActions
.
addActionsTo
(
this
,
KFileItemActions
::
MenuActionSource
::
All
,
additionalActions
);
const
DolphinView
*
view
=
m_mainWindow
->
activeViewContainer
()
->
view
();
const
QList
<
QAction
*>
versionControlActions
=
view
->
versionControlActions
(
m_selectedItems
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment