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
Network
KDE Connect
Commits
9c303fee
Commit
9c303fee
authored
Jan 14, 2022
by
Nate Graham
Browse files
plasmoid: Don't show redundant configure button in placeholder message
It's not really needed.
BUG: 448457
parent
21b2f53b
Pipeline
#123560
passed with stage
in 2 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plasmoid/package/contents/ui/FullRepresentation.qml
View file @
9c303fee
...
...
@@ -49,10 +49,10 @@ PlasmaExtras.Representation {
}
}
helpfulAction
:
Action
{
text
:
pairedDevicesModel
.
count
==
0
?
i18n
(
"
Pair a Device...
"
)
:
i18n
(
"
Configure...
"
)
icon.name
:
pairedDevicesModel
.
count
==
0
?
"
list-add
"
:
"
configure
"
text
:
i18n
(
"
Pair a Device...
"
)
icon.name
:
"
list-add
"
onTriggered
:
KdeConnect
.
DaemonDbusInterface
.
openConfiguration
()
enabled
:
KCMShell
.
authorize
(
"
kcm_kdeconnect.desktop
"
).
length
>
0
enabled
:
pairedDevicesModel
.
count
==
0
&&
KCMShell
.
authorize
(
"
kcm_kdeconnect.desktop
"
).
length
>
0
}
PlasmaComponents3.Button
{
...
...
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