Fix volume max value

pull/55/head
reionwong 4 years ago
parent af0feedd0b
commit d320772582

@ -42,7 +42,7 @@ ItemPage {
function microphoneIcon(value) { function microphoneIcon(value) {
if (value <= 25) if (value <= 25)
return "audio-input-microphone-low-symbolic" return "audio-input-microphone-low-symbolic"
else if (value <= 50) else if (value <= 70)
return "audio-input-microphone-medium-symbolic" return "audio-input-microphone-medium-symbolic"
else else
return "audio-input-microphone-high-symbolic" return "audio-input-microphone-high-symbolic"
@ -137,7 +137,7 @@ ItemPage {
Layout.fillWidth: true Layout.fillWidth: true
value: Volume value: Volume
from: PulseAudio.MinimalVolume from: PulseAudio.MinimalVolume
to: PulseAudio.MaximalVolume to: PulseAudio.NormalVolume
enabled: VolumeWritable enabled: VolumeWritable
visible: HasVolume visible: HasVolume
@ -211,7 +211,7 @@ ItemPage {
Layout.fillWidth: true Layout.fillWidth: true
value: Volume value: Volume
from: PulseAudio.MinimalVolume from: PulseAudio.MinimalVolume
to: PulseAudio.MaximalVolume to: PulseAudio.NormalVolume
enabled: VolumeWritable enabled: VolumeWritable
visible: HasVolume visible: HasVolume

@ -814,7 +814,7 @@
<message> <message>
<location filename="../src/qml/SideBar.qml" line="64"/> <location filename="../src/qml/SideBar.qml" line="64"/>
<source>Ethernet</source> <source>Ethernet</source>
<translation></translation> <translation>线</translation>
</message> </message>
<message> <message>
<location filename="../src/qml/SideBar.qml" line="100"/> <location filename="../src/qml/SideBar.qml" line="100"/>

Loading…
Cancel
Save