Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Network
KDE Connect
Commits
6cbaaa1a
Commit
6cbaaa1a
authored
Jul 17, 2020
by
Nicolas Fella
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[app/mpris] Use property binding
parent
cefe6eec
Pipeline
#27456
passed with stage
in 5 minutes and 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
app/qml/mpris.qml
app/qml/mpris.qml
+1
-3
No files found.
app/qml/mpris.qml
View file @
6cbaaa1a
...
...
@@ -56,7 +56,6 @@ Kirigami.Page
{
muted
=
!
muted
root
.
pluginInterface
.
volume
=
muted
?
0
:
volumeUnmuted
muteButton
.
icon
.
name
=
muted
?
"
audio-volume-muted
"
:
soundState
(
root
.
pluginInterface
.
volume
)
}
function
msToTime
(
currentTime
,
totalTime
)
...
...
@@ -163,7 +162,7 @@ Kirigami.Page
Layout.fillWidth
:
true
Button
{
id
:
muteButton
icon.name
:
soundState
(
root
.
pluginInterface
.
volume
)
icon.name
:
muted
?
"
audio-volume-muted
"
:
soundState
(
root
.
pluginInterface
.
volume
)
onClicked
:
toggleMute
()
}
Slider
{
...
...
@@ -175,7 +174,6 @@ Kirigami.Page
onValueChanged
:
{
volumeUnmuted
=
value
root
.
pluginInterface
.
volume
=
value
muteButton
.
icon
.
name
=
soundState
(
root
.
pluginInterface
.
volume
)
}
}
}
...
...
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