Commit 7cdb4c95 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: undo always-on-top hint when the video is released

The main interface went always-on-top when the video widget was created
but it failed to return to normal state when the video widget was
destroyed.
(cherry picked from commit ac1b335ceb78455180c2a771d4fdcde6002a91ae)
parent e5a310b4
...@@ -588,6 +588,7 @@ void MainInterface::getVideoSlot( WId *p_id, int *pi_x, int *pi_y, ...@@ -588,6 +588,7 @@ void MainInterface::getVideoSlot( WId *p_id, int *pi_x, int *pi_y,
void MainInterface::releaseVideo( void ) void MainInterface::releaseVideo( void )
{ {
emit askReleaseVideo(); emit askReleaseVideo();
QApplication::postEvent( this, new SetVideoOnTopQtEvent( false ) );
} }
/* Function that is CONNECTED to the previous emit */ /* Function that is CONNECTED to the previous emit */
......
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