Commit 8faf1ece authored by Laurent Aimar's avatar Laurent Aimar

Fixed scrambled label state.

parent e3a97fd3
...@@ -355,7 +355,7 @@ inline void MainInterface::createStatusBar() ...@@ -355,7 +355,7 @@ inline void MainInterface::createStatusBar()
CONNECT( THEMIM->getIM(), encryptionChanged( bool ) , this, showCryptedLabel( bool ) ); CONNECT( THEMIM->getIM(), encryptionChanged( bool ) , this, showCryptedLabel( bool ) );
} }
void MainInterface::showCryptedLabel( bool ) void MainInterface::showCryptedLabel( bool b_show )
{ {
if( cryptedLabel == NULL ) if( cryptedLabel == NULL )
{ {
...@@ -364,7 +364,7 @@ void MainInterface::showCryptedLabel( bool ) ...@@ -364,7 +364,7 @@ void MainInterface::showCryptedLabel( bool )
statusBar()->addWidget( cryptedLabel ); statusBar()->addWidget( cryptedLabel );
} }
cryptedLabel->show(); cryptedLabel->setVisible( b_show );
} }
inline void MainInterface::initSystray() inline void MainInterface::initSystray()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment