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
Plasma Desktop
Commits
d0384576
Commit
d0384576
authored
Sep 25, 2020
by
Niccolò Venerandi
Browse files
Revert "[kcms/activities] Use correct method to set active global shortcut"
This reverts commit
c5413826
.
parent
0b393167
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/activities/imports/dialog.cpp
View file @
d0384576
...
...
@@ -290,7 +290,8 @@ void Dialog::saveChanges(const QString &activityId)
action
.
setProperty
(
"isConfigurationAction"
,
true
);
action
.
setProperty
(
"componentName"
,
QStringLiteral
(
"ActivityManager"
));
action
.
setObjectName
(
QStringLiteral
(
"switch-to-activity-"
)
+
activityId
);
KGlobalAccel
::
self
()
->
setShortcut
(
&
action
,
{
activityShortcut
()},
KGlobalAccel
::
NoAutoloading
);
KGlobalAccel
::
self
()
->
removeAllShortcuts
(
&
action
);
KGlobalAccel
::
self
()
->
setGlobalShortcut
(
&
action
,
activityShortcut
());
// is private?
d
->
features
->
SetValue
(
QStringLiteral
(
"org.kde.ActivityManager.Resources.Scoring/isOTR/"
)
...
...
Niccolò Venerandi
@niccolove
mentioned in commit
93d62b9c
·
Sep 25, 2020
mentioned in commit
93d62b9c
mentioned in commit 93d62b9c45e4caf315f493f75900671fd8d64501
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