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
Bluedevil
Commits
acbcc3c1
Commit
acbcc3c1
authored
Dec 25, 2020
by
David Edmundson
Browse files
Fix warning in delegate
The model has no role isDefault. I assume it's a copy and paste from another model.
parent
292d3295
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/applet/package/contents/ui/DeviceItem.qml
View file @
acbcc3c1
...
...
@@ -29,7 +29,6 @@ PlasmaExtras.ExpandableListItem {
title
:
model
.
DeviceFullName
subtitle
:
infoText
()
isBusy
:
connecting
isDefault
:
model
&&
model
.
isDefault
defaultActionButtonAction
:
Action
{
icon.name
:
model
.
Connected
?
"
network-disconnect
"
:
"
network-connect
"
text
:
model
.
Connected
?
i18n
(
"
Disconnect
"
)
:
i18n
(
"
Connect
"
)
...
...
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