[vlc-devel] [PATCH 1/4] qt: Remove macOS specific main interface styling

Marvin Scholz epirat07 at gmail.com
Sun Nov 26 05:42:29 CET 2017


We already have the macosx interface, if the user wants something thats
native. No need to try hard here, additionally it looks much better
without this.
---
 modules/gui/qt/main_interface.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 3fbd58e5eb..98245cee9d 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -127,9 +127,6 @@ 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_OS_MAC
-    setAttribute( Qt::WA_MacBrushedMetal );
-#endif
 
     /* Is video in embedded in the UI or not */
     b_videoEmbedded = var_InheritBool( p_intf, "embedded-video" );
-- 
2.13.6 (Apple Git-96)



More information about the vlc-devel mailing list