mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
f46aade946
commit
139047b29e
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user