volume control

This commit is contained in:
Anika Raemer 2021-10-13 13:01:19 +02:00
parent fe7bbed7c1
commit e9a031e6d3
7 changed files with 39 additions and 40 deletions

View file

@ -45,7 +45,7 @@ Item{
anchors.centerIn: parent
height: parent.height-10
width: height
source: musicModel.pCurrentItem.pImageSource
source: musicModel.pCoverImageSource
fillMode: Image.PreserveAspectCrop
layer.enabled: true
layer.effect: OpacityMask{
@ -64,9 +64,6 @@ Item{
margins: container.margins
topMargin: closeAppButton.visible ? 2*container.margins : container.margins
}
from: 34 // we cannot hear anything if lower than 35%
to: 100
stepSize: 1
value: musicModel.pAudioVolume
onValueChanged: {
musicModel.pAudioVolume = value;