vlc_linux/vlc-3.0.16/modules/gui/qt/main_interface.cpp
/**
 * Updates the status of the systray Icon tooltip.
 * Doesn't check if the systray exists, check before you call it.
 **/
Updates the status of the systray Icon tooltip.
Doesn't check if the systray exists, check before you call it.
Updates the status of the systray Icon tooltip . Doesn ' t check if the systray exists check before you call it .
void MainInterface::updateSystrayTooltipStatus( int i_status )
{
    switch( i_status )
    {
    case PLAYING_S:
        sysTray->setToolTip( input_name );
        break;
    case PAUSE_S:
        sysTray->setToolTip( input_name + " - " + qtr( "Paused") );
        break;
    default:
        sysTray->setToolTip( qtr( "VLC media player" ) );
        break;
    }
    VLCMenuBar::updateSystrayMenu( this, p_intf );
}
void MainInterface :: updateSystrayTooltipStatus ( int i_status ) { switch ( i_status ) { case PLAYING_S : sysTray -> setToolTip ( input_name ) ; break ; case PAUSE_S : sysTray -> setToolTip ( input_name + " " + qtr ( " " ) ) ; break ; default : sysTray -> setToolTip ( qtr ( " " ) ) ; break ; } VLCMenuBar :: updateSystrayMenu ( this , p_intf ) ; }
Updates the status of the systray Icon tooltip.
Updates the status of the systray Icon tooltip .