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
KScreen
Commits
305253dc
Verified
Commit
305253dc
authored
Mar 19, 2022
by
ivan tkachenko
Browse files
Improve QML/JS code slightly
GIT_SILENT
parent
7ea44087
Pipeline
#152198
passed with stage
in 3 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kded/qml/OsdSelector.qml
View file @
305253dc
...
...
@@ -33,15 +33,11 @@ PlasmaCore.Dialog {
Repeater
{
id
:
actionRepeater
property
int
currentIndex
:
0
model
:
{
return
OsdAction
.
actionOrder
().
map
(
function
(
layout
)
{
return
{
iconSource
:
OsdAction
.
actionIconName
(
layout
),
label
:
OsdAction
.
actionLabel
(
layout
),
action
:
layout
}
})
}
model
:
OsdAction
.
actionOrder
().
map
(
layout
=>
({
iconSource
:
OsdAction
.
actionIconName
(
layout
),
label
:
OsdAction
.
actionLabel
(
layout
),
action
:
layout
,
}))
delegate
:
PlasmaComponents.Button
{
property
int
actionId
:
modelData
.
action
...
...
@@ -77,6 +73,7 @@ PlasmaCore.Dialog {
}
}
}
PlasmaExtras.Heading
{
text
:
root
.
infoText
horizontalAlignment
:
Text
.
AlignHCenter
...
...
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