/* Naming in the controller */
CONNECT( THEMIM->getIM(), nameChanged( QString ), this,
setName( QString ) );
- if( config_GetInt( p_intf, "qt-system-tray" ) && sysTray )
+ if( sysTray )
{
CONNECT( THEMIM->getIM(), nameChanged( QString ), this,
updateSystrayTooltipName( QString ) );
/* PLAY_STATUS */
CONNECT( THEMIM->getIM(), statusChanged( int ), this, setStatus( int ) );
- if( config_GetInt( p_intf, "qt-system-tray" ) && sysTray )
+ if( sysTray )
{
CONNECT( THEMIM->getIM(), statusChanged( int ), this,
updateSystrayTooltipStatus( int ) );
void MainInterface::setStatus( int status )
{
controls->setStatus( status );
- if( systrayMenu )
+ if( sysTray )
updateSystrayMenu( status );
}