[vlc-commits] commit: Qt: use a drawer for extended Dialog on Mac (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Mon Nov 29 00:05:16 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 26 08:52:41 2010 +0100| [dc8af820d1b9be0297a1dcd85cd6db8973a4209c] | committer: Jean-Baptiste Kempf
Qt: use a drawer for extended Dialog on Mac
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dc8af820d1b9be0297a1dcd85cd6db8973a4209c
---
modules/gui/qt4/dialogs/extended.cpp | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/dialogs/extended.cpp b/modules/gui/qt4/dialogs/extended.cpp
index 11342f1..6f107fb 100644
--- a/modules/gui/qt4/dialogs/extended.cpp
+++ b/modules/gui/qt4/dialogs/extended.cpp
@@ -38,7 +38,12 @@
ExtendedDialog::ExtendedDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
{
+#ifdef __APPLE__
+ setWindowFlags( Qt::Drawer );
+#else
setWindowFlags( Qt::Tool );
+#endif
+
setWindowOpacity( var_InheritFloat( p_intf, "qt-opacity" ) );
setWindowTitle( qtr( "Adjustments and Effects" ) );
setWindowRole( "vlc-extended" );
More information about the vlc-commits
mailing list