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
Utilities
Konsole
Commits
1fa81f4e
Commit
1fa81f4e
authored
Dec 29, 2021
by
Tomaz Canabrava
Browse files
Remove random german variable name
parent
4503e7ef
Pipeline
#115915
passed with stage
in 1 minute and 53 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/session/SessionController.cpp
View file @
1fa81f4e
...
...
@@ -1838,9 +1838,9 @@ void SessionController::showDisplayContextMenu(const QPoint &position)
ac
->
setItemListProperties
(
props
);
ac
->
insertOpenWithActionsTo
(
popup
->
actions
().
value
(
4
,
nullptr
),
popup
,
QStringList
{
qApp
->
desktopFileName
()});
auto
ne
u
=
popup
->
actions
();
auto
ne
wActions
=
popup
->
actions
();
for
(
auto
*
elm
:
old
)
{
ne
u
.
removeAll
(
elm
);
ne
wActions
.
removeAll
(
elm
);
}
// Finish Ading the "Open Folder With" action.
...
...
@@ -1857,14 +1857,14 @@ void SessionController::showDisplayContextMenu(const QPoint &position)
// Open Folder With - with different folders on each.
// Change the text of the second one, that points to the
// current folder.
for
(
auto
*
action
:
ne
u
)
{
for
(
auto
*
action
:
ne
wActions
)
{
if
(
action
->
objectName
()
==
QStringLiteral
(
"openWith_submenu"
))
{
action
->
setText
(
i18n
(
"Open Current Folder With"
));
}
}
toRemove
=
toRemove
+
ne
u
;
toRemove
=
toRemove
+
ne
wActions
;
}
else
{
toRemove
=
ne
u
;
toRemove
=
ne
wActions
;
}
// always update this submenu before showing the context menu,
...
...
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