Commit 21a5ca24 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Forgotten file in a previous commit ( for the toggleVisible bug in QSystray )

parent bae04ee8
......@@ -320,8 +320,8 @@ void MainInterface::updateSystrayMenu( int status )
void MainInterface::toggleUpdateSystrayMenu()
{
QVLCMenu::updateSystrayMenu( this, p_intf );
toggleVisible();
QVLCMenu::updateSystrayMenu( this, p_intf );
}
void MainInterface::handleSystrayClick( QSystemTrayIcon::ActivationReason reason )
......@@ -329,7 +329,8 @@ void MainInterface::handleSystrayClick( QSystemTrayIcon::ActivationReason reason
switch( reason )
{
case QSystemTrayIcon::Trigger:
this->toggleVisible(); break;
toggleUpdateSystrayMenu();
break;
case QSystemTrayIcon::MiddleClick:
sysTray->showMessage( qtr( "VLC media player" ),
qtr( "Control menu for the player" ),
......
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