X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2FMediaAreaBlank.qml;fp=homescreen%2Fqml%2FMediaAreaBlank.qml;h=347c26acfb02dc248915e8090499fdf7dd40d3d0;hb=3229c695fc52e22e773cef89a835915c0bb6d90b;hp=c3a5f89f83d1fdf43705b05c0f8ce3a22a7442f0;hpb=4667d93a852d66a57a2d7d26957c3aab6845756e;p=apps%2Fhomescreen.git diff --git a/homescreen/qml/MediaAreaBlank.qml b/homescreen/qml/MediaAreaBlank.qml index c3a5f89..347c26a 100644 --- a/homescreen/qml/MediaAreaBlank.qml +++ b/homescreen/qml/MediaAreaBlank.qml @@ -72,6 +72,9 @@ Image { id: mv objectName: "mv" onVolumeChanged: slider.value = volume + Component.onCompleted: { + mv.open(bindingAddress); + } } Item { @@ -84,7 +87,7 @@ Image { font.pixelSize: 36 anchors.horizontalCenter: parent.horizontalCenter color: "white" - text: qsTr("Master Volume") + text: qsTr("Active Volume") } RowLayout { @@ -101,8 +104,8 @@ Image { id: slider Layout.fillWidth: true from: 0 - to: 65536 - stepSize: 256 + to: 100 + stepSize: 1 snapMode: Slider.SnapOnRelease onValueChanged: mv.volume = value Component.onCompleted: value = mv.volume