]> git.sesse.net Git - vlc/commitdiff
Qt4: undo always-on-top hint when the video is released
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 30 May 2010 14:07:41 +0000 (17:07 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 30 May 2010 14:07:41 +0000 (17:07 +0300)
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.

modules/gui/qt4/main_interface.cpp

index 495667c695cbad4afdb7f702d5c2fb172a9d9459..986964043079ffe6f65f39a34dff049c349c6caf 100644 (file)
@@ -588,6 +588,7 @@ void MainInterface::getVideoSlot( WId *p_id, int *pi_x, int *pi_y,
 void MainInterface::releaseVideo( void )
 {
     emit askReleaseVideo();
+    QApplication::postEvent( this, new SetVideoOnTopQtEvent( false ) );
 }
 
 /* Function that is CONNECTED to the previous emit */