Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Konqueror
Commits
be7a411f
Commit
be7a411f
authored
Aug 01, 2022
by
Stefano Crocco
Browse files
Update comment
parent
fc80773b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/konqmainwindow.cpp
View file @
be7a411f
...
...
@@ -4704,8 +4704,9 @@ void KonqMainWindow::updateViewModeActions()
const
QString
id
=
md
.
pluginId
();
bool
isCurrentView
=
id
==
m_currentView
->
service
().
pluginId
();
//TODO port away from query: assume that the "actionsFile" entry in the KPluginMetaData contains the path of a .desktop file
//containing the actions specification, as the old part .desktop file did
//If a view provide several actions, its metadata contains an X-Konqueror-Actions-File entry
//with the path of a .desktop file where the actions are described. The contents of this file
//are the same as the action-related part of the old part .desktop file
QString
actionDesktopFile
=
md
.
value
(
"X-Konqueror-Actions-File"
,
QString
());
if
(
!
actionDesktopFile
.
isEmpty
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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