From: Jean-Baptiste Kempf Date: Fri, 23 Jul 2010 17:05:47 +0000 (+0200) Subject: Qt: make the MainInterface Grey Brushed on Mac X-Git-Tag: 1.2.0-pre1~5689 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7f93109efe3b08154d1f94fb02daff113b57fd7b;p=vlc Qt: make the MainInterface Grey Brushed on Mac It is ugly, but way less than it was... --- diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 02e3bb885e..a8dff3b58e 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -102,6 +102,9 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) setWindowRole( "vlc-main" ); setWindowIcon( QApplication::windowIcon() ); setWindowOpacity( var_InheritFloat( p_intf, "qt-opacity" ) ); +#ifdef Q_WS_MAC + setAttribute( Qt::WA_MacBrushedMetal ); +#endif /* Is video in embedded in the UI or not */ b_videoEmbedded = var_InheritBool( p_intf, "embedded-video" );