From 7f93109efe3b08154d1f94fb02daff113b57fd7b Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Fri, 23 Jul 2010 19:05:47 +0200 Subject: [PATCH] Qt: make the MainInterface Grey Brushed on Mac It is ugly, but way less than it was... --- modules/gui/qt4/main_interface.cpp | 3 +++ 1 file changed, 3 insertions(+) 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" ); -- 2.39.2