From 75ace25c571818fbcd4cd55d17beecaf106eeb13 Mon Sep 17 00:00:00 2001 From: Guo Yunhe Date: Sat, 2 Mar 2019 13:37:04 +0100 Subject: [PATCH] Make icons sharp in HiDPI screen --- lector/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lector/__main__.py b/lector/__main__.py index d51dbea..89fdc87 100755 --- a/lector/__main__.py +++ b/lector/__main__.py @@ -1059,6 +1059,8 @@ def main(): app = QtWidgets.QApplication(sys.argv) app.setApplicationName('Lector') # This is needed for QStandardPaths # and my own hubris + # Make icons sharp in HiDPI screen + app.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True) # Internationalization support translator = QtCore.QTranslator()