changeset 484:fce075d2952f recording

Hi-dpi pixmaps in icons
author Chris Cannam
date Thu, 20 Aug 2015 17:06:27 +0100
parents 42e80bb7f1ad
children 5865c6e296c5
files .hgsubstate src/main.cpp
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Thu Aug 20 16:41:23 2015 +0100
+++ b/.hgsubstate	Thu Aug 20 17:06:27 2015 +0100
@@ -8,4 +8,4 @@
 55ece8862b6d3a54aad271a53f9c1615e5d3bcf8 sv-dependency-builds
 01669adb09566b24347c50417847792f41158918 svapp
 815f82508f9635a727d55ec2d32d70bea4f39c6e svcore
-1a6304c547bfd90616588052939e4cefe566a374 svgui
+477fbf3f10cac47bad2d5c4de3f72bb8b2361ae4 svgui
--- a/src/main.cpp	Thu Aug 20 16:41:23 2015 +0100
+++ b/src/main.cpp	Thu Aug 20 17:06:27 2015 +0100
@@ -209,6 +209,8 @@
 
     InteractiveFileFinder::getInstance()->setApplicationSessionExtension("ton");
 
+    QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
+
     QSplashScreen *splash = 0;
     // If we had a splash screen, we would show it here