]> git.sesse.net Git - vlc/commitdiff
Fixed scrambled label state.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 9 Mar 2009 20:29:50 +0000 (21:29 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 9 Mar 2009 20:32:25 +0000 (21:32 +0100)
modules/gui/qt4/main_interface.cpp

index 54e0bbadc3cf7b065817e3b233ecb3558c77ad47..292d517e4da80ad8d8bd00aca0f5c917bc84d45c 100644 (file)
@@ -355,7 +355,7 @@ inline void MainInterface::createStatusBar()
     CONNECT( THEMIM->getIM(), encryptionChanged( bool ) , this, showCryptedLabel( bool ) );
 }
 
-void MainInterface::showCryptedLabel( bool )
+void MainInterface::showCryptedLabel( bool b_show )
 {
     if( cryptedLabel == NULL )
     {
@@ -364,7 +364,7 @@ void MainInterface::showCryptedLabel( bool )
         statusBar()->addWidget( cryptedLabel );
     }
 
-    cryptedLabel->show();
+    cryptedLabel->setVisible( b_show );
 }
 
 inline void MainInterface::initSystray()