vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | 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" ); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
