]> git.sesse.net Git - vlc/commitdiff
Fix the dialogs problem on Mac.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 15 Mar 2008 02:31:50 +0000 (19:31 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 15 Mar 2008 02:31:50 +0000 (19:31 -0700)
modules/gui/qt4/util/qvlcframe.hpp

index 0fa30fa3f177ad4bcf8bb8ec74bcbb5833996396..12816fb3355e34d9ea8d1e64b4de9364ef4e03fb 100644 (file)
@@ -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()