[vlc-commits] qml: show different icon when volume is zero in VolumeWidget
Prince Gupta
git at videolan.org
Mon Feb 8 10:00:11 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Jan 18 20:48:43 2021 +0530| [13ff43b4c93d453aef3b68bb91ff5ef19c23e9f0] | committer: Pierre Lamot
qml: show different icon when volume is zero in VolumeWidget
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13ff43b4c93d453aef3b68bb91ff5ef19c23e9f0
---
modules/gui/qt/player/qml/VolumeWidget.qml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/player/qml/VolumeWidget.qml b/modules/gui/qt/player/qml/VolumeWidget.qml
index b7183a6a64..9e7ebb5b1f 100644
--- a/modules/gui/qt/player/qml/VolumeWidget.qml
+++ b/modules/gui/qt/player/qml/VolumeWidget.qml
@@ -56,6 +56,8 @@ FocusScope{
iconText:
if( player.muted )
VLCIcons.volume_muted
+ else if ( player.volume == 0 )
+ VLCIcons.volume_zero
else if ( player.volume < .33 )
VLCIcons.volume_low
else if( player.volume <= .66 )
More information about the vlc-commits
mailing list