Commit f2f12f8e authored by Rafaël Carré's avatar Rafaël Carré

qt-notify only if vlc window is not visile was removed accidentally in [21845]

parent e6b2b699
......@@ -826,7 +826,7 @@ void MainInterface::updateSystrayTooltipName( QString name )
else
{
sysTray->setToolTip( name );
if( notificationEnabled )
if( notificationEnabled && ( isHidden() || isMinimized() ) )
{
sysTray->showMessage( qtr( "VLC media player" ), name,
QSystemTrayIcon::NoIcon, 4000 );
......
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