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
Plasma
System Settings
Commits
bfc56dcf
Commit
bfc56dcf
authored
Sep 24, 2020
by
David Redondo
🏎
Browse files
Show bug report action in sidebar menu
It is already shown in other modes.
BUG:426747
parent
2e82e4fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
sidebar/SidebarMode.cpp
View file @
bfc56dcf
...
...
@@ -421,7 +421,7 @@ void SidebarMode::showActionMenu(const QPoint &position)
connect
(
menu
,
&
QMenu
::
aboutToHide
,
this
,
[
this
]
()
{
d
->
setActionMenuVisible
(
this
,
false
);
}
);
menu
->
setAttribute
(
Qt
::
WA_DeleteOnClose
);
const
QStringList
actionList
{
QStringLiteral
(
"configure"
),
QStringLiteral
(
"help_contents"
),
QStringLiteral
(
"help_about_app"
),
QStringLiteral
(
"help_about_kde"
)
};
const
QStringList
actionList
{
QStringLiteral
(
"configure"
),
QStringLiteral
(
"help_contents"
),
QStringLiteral
(
"help_report_bug"
),
QStringLiteral
(
"help_about_app"
),
QStringLiteral
(
"help_about_kde"
)
};
for
(
const
QString
&
actionName
:
actionList
)
{
menu
->
addAction
(
d
->
collection
->
action
(
actionName
));
}
...
...
David Redondo
🏎
@davidre
mentioned in commit
5b4df515
·
Sep 24, 2020
mentioned in commit
5b4df515
mentioned in commit 5b4df5156370feed1563e7b937d405f06d4e98ec
Toggle commit list
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