diff src/main.cpp @ 484:fce075d2952f recording

Hi-dpi pixmaps in icons
author Chris Cannam
date Thu, 20 Aug 2015 17:06:27 +0100
parents 7665cc683dd1
children b11b82c2e1af
line wrap: on
line diff
--- 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