Commit 7f93109e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: make the MainInterface Grey Brushed on Mac

It is ugly, but way less than it was...
parent d2dd502e
...@@ -102,6 +102,9 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf ) ...@@ -102,6 +102,9 @@ MainInterface::MainInterface( intf_thread_t *_p_intf ) : QVLCMW( _p_intf )
setWindowRole( "vlc-main" ); setWindowRole( "vlc-main" );
setWindowIcon( QApplication::windowIcon() ); setWindowIcon( QApplication::windowIcon() );
setWindowOpacity( var_InheritFloat( p_intf, "qt-opacity" ) ); 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 */ /* Is video in embedded in the UI or not */
b_videoEmbedded = var_InheritBool( p_intf, "embedded-video" ); b_videoEmbedded = var_InheritBool( p_intf, "embedded-video" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment