Commit 78cf3518 authored by Christophe Mutricy's avatar Christophe Mutricy
Browse files

Don't hide the name in the status bar. Oups.

parent 5d427733
...@@ -129,11 +129,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -129,11 +129,8 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
slider, setPosition( float,int, int ) ); slider, setPosition( float,int, int ) );
CONNECT( THEMIM->getIM(), positionUpdated( float, int, int ), CONNECT( THEMIM->getIM(), positionUpdated( float, int, int ),
this, setDisplay( 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, setStatus( int ) );
CONNECT( THEMIM->getIM(), statusChanged( int ), this, CONNECT( THEMIM->getIM(), statusChanged( int ), this,
updateSystrayMenu( int ) ); updateSystrayMenu( int ) );
...@@ -726,7 +723,11 @@ void MainInterface::setDisplay( float pos, int time, int length ) ...@@ -726,7 +723,11 @@ void MainInterface::setDisplay( float pos, int time, int length )
void MainInterface::setName( QString name ) void MainInterface::setName( QString name )
{ {
nameLabel->setText( " " + name+" " ); nameLabel->setText( " " + name+" " );
setVLCWindowsTitle( name );
if( config_GetInt( p_intf, "qt-name-in-title" ) )
{
setVLCWindowsTitle( name );
}
} }
void MainInterface::setStatus( int status ) void MainInterface::setStatus( int status )
......
Supports Markdown
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