mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:13:04 +02:00
...
This commit is contained in:
parent
f46aade946
commit
139047b29e
1 changed files with 1 additions and 2 deletions
|
|
@ -882,8 +882,7 @@ def __init__(self, args, force_calibre_style=False, override_program_name=None,
|
|||
else:
|
||||
# Should probably make a preference to allow the user to
|
||||
# control this, if needed.
|
||||
# Could have options: auto, off, 0.75, 1, 1.25, 1.5, 1.75, 2,
|
||||
# 2.25, 2.5
|
||||
# Could have options: auto, off, 1.25, 1.5, 1.75, 2, 2.25, 2.5
|
||||
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
|
||||
QApplication.__init__(self, qargs)
|
||||
self.setAttribute(Qt.AA_UseHighDpiPixmaps)
|
||||
|
|
|
|||
Loading…
Reference in a new issue