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
879fa9fa
Commit
879fa9fa
authored
May 25, 2021
by
Ömer Fadıl Usta
😊
Browse files
[src/settings/contextmenu/contextmenusettingspage] Fix Crash because of nullptr
BUG: 437539
parent
5fca9ee7
Pipeline
#63049
passed with stage
in 4 minutes and 29 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/settings/contextmenu/contextmenusettingspage.cpp
View file @
879fa9fa
...
...
@@ -235,11 +235,13 @@ void ContextMenuSettingsPage::showEvent(QShowEvent* event)
CopyToMoveToService
,
ContextMenuSettings
::
showCopyMoveMenu
());
// Add other built-in actions
for
(
const
QString
&
id
:
m_actionIds
)
{
const
QAction
*
action
=
m_actions
->
action
(
id
);
if
(
action
)
{
addRow
(
action
->
icon
().
name
(),
action
->
text
(),
id
,
entryVisible
(
id
));
if
(
m_actions
){
// Add other built-in actions
for
(
const
QString
&
id
:
m_actionIds
)
{
const
QAction
*
action
=
m_actions
->
action
(
id
);
if
(
action
)
{
addRow
(
action
->
icon
().
name
(),
action
->
text
(),
id
,
entryVisible
(
id
));
}
}
}
...
...
Ömer Fadıl Usta
😊
@usta
mentioned in commit
b5e276d1
·
May 25, 2021
mentioned in commit
b5e276d1
mentioned in commit b5e276d115c55241b0b193ee184f3bd206da8d33
Toggle commit list
Write
Preview
Markdown
is supported
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