Commit 776e49e2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: updateSystrayTooltipStatus simplification

parent 42383d06
......@@ -961,23 +961,15 @@ void MainInterface::updateSystrayTooltipStatus( int i_status )
{
switch( i_status )
{
case 0:
case END_S:
{
sysTray->setToolTip( qtr( "VLC media player" ) );
break;
}
case PLAYING_S:
{
sysTray->setToolTip( input_name );
break;
}
case PAUSE_S:
{
sysTray->setToolTip( input_name + " - "
+ qtr( "Paused") );
sysTray->setToolTip( input_name + " - " + qtr( "Paused") );
break;
default:
sysTray->setToolTip( qtr( "VLC media player" ) );
break;
}
}
QVLCMenu::updateSystrayMenu( this, p_intf );
}
......
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