This commit is contained in:
Kovid Goyal 2016-08-26 20:29:57 +05:30
parent f46aade946
commit 139047b29e

View File

@ -882,8 +882,7 @@ class Application(QApplication):
else: else:
# Should probably make a preference to allow the user to # Should probably make a preference to allow the user to
# control this, if needed. # control this, if needed.
# Could have options: auto, off, 0.75, 1, 1.25, 1.5, 1.75, 2, # Could have options: auto, off, 1.25, 1.5, 1.75, 2, 2.25, 2.5
# 2.25, 2.5
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True) QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
QApplication.__init__(self, qargs) QApplication.__init__(self, qargs)
self.setAttribute(Qt.AA_UseHighDpiPixmaps) self.setAttribute(Qt.AA_UseHighDpiPixmaps)