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
Graham Littlewood
Elisa
Commits
3ca8f02e
Commit
3ca8f02e
authored
Mar 09, 2017
by
Matthieu Gallien
🎵
Browse files
muted can also be changed by the Audio player
parent
3c9b8561
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/MediaPlayerControl.qml
View file @
3ca8f02e
...
...
@@ -238,15 +238,9 @@ Item {
id
:
volumeSlider
minimumValue
:
0.0
maximumValue
:
1.0
value
:
if
(
musicWidget
.
muted
)
0
else
musicWidget
.
volume
onValueChanged
:
{
if
(
!
musicWidget
.
muted
)
{
musicWidget
.
volume
=
value
}
}
value
:
musicWidget
.
volume
onValueChanged
:
musicWidget
.
volume
=
value
enabled
:
!
muted
Layout.alignment
:
Qt
.
AlignVCenter
Layout.preferredWidth
:
width
...
...
src/MediaServer.qml
View file @
3ca8f02e
...
...
@@ -132,6 +132,7 @@ ApplicationWindow {
volume
:
playControlItem
.
volume
*
100
onVolumeChanged
:
playControlItem
.
volume
=
volume
/
100.0
onMutedChanged
:
playControlItem
.
muted
=
muted
source
:
manageAudioPlayer
.
playerSource
...
...
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