[vlc-commits] commit: Compile fix ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Mon Mar 8 22:21:04 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 8 23:20:56 2010 +0200| [2974955f30d6cf72005087b3803c5380209d6697] | committer: Rémi Denis-Courmont
Compile fix
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2974955f30d6cf72005087b3803c5380209d6697
---
modules/gui/qt4/qt4.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 0d46328..14b6473 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -328,6 +328,9 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider )
p_sys->p_playlist = pl_Get( p_intf );
/* */
+#ifdef Q_WS_X11
+ x11_display = display;
+#endif
vlc_sem_init (&ready, 0);
if( vlc_clone( &p_sys->thread, Thread, p_intf, VLC_THREAD_PRIORITY_LOW ) )
{
@@ -338,7 +341,6 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider )
vlc_mutex_unlock (&one.lock);
return VLC_ENOMEM;
}
- x11_display = display;
/* */
vlc_sem_wait (&ready);
More information about the vlc-commits
mailing list