We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 493eb94 + cbdbca3 commit 19f8719Copy full SHA for 19f8719
aw_qt/trayicon.py
@@ -208,6 +208,10 @@ def run(manager: Manager, testing: bool = False) -> Any:
208
# Ensure cleanup happens on SIGTERM
209
signal.signal(signal.SIGTERM, lambda *args: exit(manager))
210
211
+ # Allow pixmaps (e.g. trayicon) to use higher DPI images to make icons less
212
+ # blurry when fractional scaling is used
213
+ app.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps)
214
+
215
timer = QtCore.QTimer()
216
timer.start(100) # You may change this if you wish.
217
timer.timeout.connect(lambda: None) # Let the interpreter run each 500 ms.
0 commit comments