[vlc-commits] commit: Qt4: undo always-on-top hint when the video is released ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sun May 30 16:09:24 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 30 17:07:41 2010 +0300| [ac1b335ceb78455180c2a771d4fdcde6002a91ae] | committer: 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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac1b335ceb78455180c2a771d4fdcde6002a91ae
---

 modules/gui/qt4/main_interface.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 495667c..9869640 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -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 */



More information about the vlc-commits mailing list