[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:25:58 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 30 17:07:41 2010 +0300| [7cdb4c958a47757db4e35c6857df3e64828ba3de] | 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.
(cherry picked from commit ac1b335ceb78455180c2a771d4fdcde6002a91ae)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=7cdb4c958a47757db4e35c6857df3e64828ba3de
---
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 d70e6f8..87e2c3f 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