]> git.sesse.net Git - vlc/commitdiff
Qt4 - Volume, when clicked on the icon, mute and change the icon to the muted one.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 8 Sep 2007 19:02:47 +0000 (19:02 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 8 Sep 2007 19:02:47 +0000 (19:02 +0000)
modules/gui/qt4/components/interface_widgets.hpp

index a5c8558a4e1e5243501824534e07ab9900fad173..0cdaf0efe0e8dd19156f127dbc105e623813e26f 100644 (file)
@@ -184,7 +184,9 @@ public:
     {
         if (e->type() == QEvent::MouseButtonPress )
         {
+            /* Mute it */
             aout_VolumeMute( p_intf, NULL );
+            m->updateVolume( 0 );
             return true;
         }
         return false;