From 18097fc33b05aaf45a6bcb70f54f68ea16789b91 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 29 Sep 2020 16:24:59 -0400 Subject: [PATCH] Scale for hidpi pixmaps too --- piker/ui/_exec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piker/ui/_exec.py b/piker/ui/_exec.py index c1f247d9..1270d8ac 100644 --- a/piker/ui/_exec.py +++ b/piker/ui/_exec.py @@ -27,8 +27,8 @@ from outcome import Error if hasattr(Qt, 'AA_EnableHighDpiScaling'): QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True) -# if hasattr(Qt, 'AA_UseHighDpiPixmaps'): -# QCoreApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True) +if hasattr(Qt, 'AA_UseHighDpiPixmaps'): + QCoreApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True) class MainWindow(QtGui.QMainWindow):