[vlc-commits] qt: Use HighDPI pixmaps
    Hugo Beauzée-Luyssen 
    git at videolan.org
       
    Tue Apr 25 11:00:12 CEST 2017
    
    
  
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Apr 24 16:25:57 2017 +0200| [2993b517aba214ebf7dd7365d3893f06b89a08f9] | committer: Hugo Beauzée-Luyssen
qt: Use HighDPI pixmaps
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2993b517aba214ebf7dd7365d3893f06b89a08f9
---
 modules/gui/qt/qt.cpp | 1 +
 1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index 4e0bbc8615..2ad68eb401 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -528,6 +528,7 @@ static void *ThreadPlatform( void *obj, char *platform_name )
 
 #if HAS_QT56
     QApplication::setAttribute( Qt::AA_EnableHighDpiScaling );
+    QApplication::setAttribute( Qt::AA_UseHighDpiPixmaps );
 #endif
 
     /* Start the QApplication here */
    
    
More information about the vlc-commits
mailing list