[vlc-commits] commit: Qt: use a Brushed Style 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:53:19 2010 +0100| [f28ecfb06a924dc163d2899aca8b20625dc01ae0] | committer: Jean-Baptiste Kempf 

Qt: use a Brushed Style on Mac

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

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

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index dda3ad1..0874915 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -556,6 +556,7 @@ ControlsWidget::ControlsWidget( intf_thread_t *_p_i,
     setStyleSheet( " background: red ");
 #endif
 
+    setAttribute( Qt::WA_MacBrushedMetal);
     QVBoxLayout *controlLayout = new QVBoxLayout( this );
     controlLayout->setContentsMargins( 4, 1, 4, 0 );
     controlLayout->setSpacing( 0 );



More information about the vlc-commits mailing list