[vlc-devel] commit: Fixed scrambled label state. (Laurent Aimar )
git version control
git at videolan.org
Mon Mar 9 21:32:52 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Mar 9 21:29:50 2009 +0100| [8faf1ece2f456e06cb7f03627e8b3a327eea3584] | committer: Laurent Aimar
Fixed scrambled label state.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8faf1ece2f456e06cb7f03627e8b3a327eea3584
---
modules/gui/qt4/main_interface.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 54e0bba..292d517 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -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()
More information about the vlc-devel
mailing list