Commit fe9029bc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix playback start if VLC was minimized

Close #3840
(cherry picked from commit 9ea91967ae0f9c80871fd2818a34b9056a0c94ab)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3ec0c2a9
......@@ -564,6 +564,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