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
eca7f0b7
Commit
eca7f0b7
authored
Jan 17, 2021
by
Tobias Fella
Browse files
kcm/componentchooser: Fix default terminal application
parent
56da07c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/componentchooser/componentchooserterminal.cpp
View file @
eca7f0b7
...
...
@@ -65,9 +65,8 @@ void ComponentChooserTerminal::load()
if
(
!
preferredService
.
isEmpty
()
&&
!
preferredServiceAdded
)
{
// standard application was specified by the user
QVariantMap
application
;
TerminalSettings
settings
;
auto
service
=
KService
::
serviceByStorageId
(
QStringLiteral
(
"org.kde.ksysguard.desktop"
));
if
(
settings
.
defaultTerminalServiceValue
()
!=
settings
.
terminalService
()
&&
service
!=
nullptr
)
{
auto
service
=
KService
::
serviceByStorageId
(
settings
.
terminalService
());
if
(
service
)
{
application
[
"name"
]
=
service
->
name
();
application
[
"icon"
]
=
service
->
icon
();
application
[
"storageId"
]
=
service
->
storageId
();
...
...
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