[vlc-devel] commit: Fix the dialogs problem on Mac. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Mar 15 03:31:35 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Mar 14 19:31:50 2008 -0700| [cceacadfbd5ec1104c9cb4a37901f29f1d8596df]

Fix the dialogs problem on Mac.

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

 modules/gui/qt4/util/qvlcframe.hpp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/util/qvlcframe.hpp b/modules/gui/qt4/util/qvlcframe.hpp
index 0fa30fa..12816fb 100644
--- a/modules/gui/qt4/util/qvlcframe.hpp
+++ b/modules/gui/qt4/util/qvlcframe.hpp
@@ -118,8 +118,12 @@ class QVLCTools
 class QVLCFrame : public QWidget
 {
 public:
+#ifdef __APPLE__
+    QVLCFrame( intf_thread_t *_p_intf ) : QWidget( NULL, Qt::Window ), p_intf( _p_intf )
+#else
     QVLCFrame( intf_thread_t *_p_intf ) : QWidget( NULL ), p_intf( _p_intf )
-    {    };
+#endif
+    {};
     virtual ~QVLCFrame()   {};
 
     void toggleVisible()




More information about the vlc-devel mailing list