[vlc-commits] commit: Qt: make the MainInterface Grey Brushed on Mac ( Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sat Jul 24 11:48:51 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 23 19:05:47 2010 +0200| [7f93109efe3b08154d1f94fb02daff113b57fd7b] | committer: Jean-Baptiste Kempf 

Qt: make the MainInterface Grey Brushed on Mac

It is ugly, but way less than it was...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f93109efe3b08154d1f94fb02daff113b57fd7b
---

 modules/gui/qt4/main_interface.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 02e3bb8..a8dff3b 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" );



More information about the vlc-commits mailing list