slider, setPosition( float,int, int ) );
CONNECT( THEMIM->getIM(), positionUpdated( float, int, int ),
this, setDisplay( float, int, int ) );
- if( config_GetInt( p_intf, "qt-name-in-title" ) )
- {
- CONNECT( THEMIM->getIM(), nameChanged( QString ), this,
- setName( QString ) );
- }
+ CONNECT( THEMIM->getIM(), nameChanged( QString ), this,
+ setName( QString ) );
CONNECT( THEMIM->getIM(), statusChanged( int ), this, setStatus( int ) );
CONNECT( THEMIM->getIM(), statusChanged( int ), this,
updateSystrayMenu( int ) );
void MainInterface::setName( QString name )
{
nameLabel->setText( " " + name+" " );
- setVLCWindowsTitle( name );
+
+ if( config_GetInt( p_intf, "qt-name-in-title" ) )
+ {
+ setVLCWindowsTitle( name );
+ }
}
void MainInterface::setStatus( int status )