vlc | branch: master | Prince Gupta <guptaprince8...@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 <pie...@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 ) _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits