Commit 9ea91967 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix playback start if VLC was minimized

Close #3840
parent 975477f7
......@@ -592,6 +592,10 @@ WId MainInterface::getVideo( int *pi_x, int *pi_y,
void MainInterface::getVideoSlot( WId *p_id, int *pi_x, int *pi_y,
unsigned *pi_width, unsigned *pi_height )
{
/* Hidden or minimized, activate */
if( isHidden() || isMinimized() )
toggleUpdateSystrayMenu();
/* Request the videoWidget */
WId ret = videoWidget->request( pi_x, pi_y,
pi_width, pi_height, !b_autoresize );
......
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