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
923a9dbc
Verified
Commit
923a9dbc
authored
Sep 30, 2022
by
ivan tkachenko
Browse files
kcm: Simplify ListView sections using existing shorthand role
(cherry picked from commit
ee29bb8f
)
parent
d9bc7429
Pipeline
#240323
passed with stage
in 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kcm/package/contents/ui/main.qml
View file @
923a9dbc
...
...
@@ -154,9 +154,10 @@ ScrollViewKCM {
sourceModel
:
BluezQt.DevicesModel
{
}
}
section.property
:
"
Connected
"
section.property
:
"
Section
"
section.delegate
:
Kirigami.ListSectionHeader
{
text
:
section
===
"
true
"
?
i18n
(
"
Connected
"
)
:
i18n
(
"
Available
"
)
required
property
string
section
text
:
section
}
delegate
:
Kirigami.SwipeListItem
{
...
...
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