ActivityWatch / aw-qt

Tray icon that manages ActivityWatch processes, built with Qt.
Mozilla Public License 2.0
27 stars 28 forks source link

fix: Make trayicon less blurry when being fractionally scaled #72

Closed johan-bjareholt closed 3 years ago

johan-bjareholt commented 3 years ago

Should fix https://github.com/ActivityWatch/activitywatch/issues/529

One thing I'm uncertain about though is the PyQt5 documentation listing it under "The following values are deprecated or obsolete" here https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qt.html?highlight=usehighdpipixmaps##ApplicationAttribute-AA_UseHighDpiPixmaps

ErikBjare commented 3 years ago

One thing I'm uncertain about though is the PyQt5 documentation listing it under "The following values are deprecated or obsolete"

I think that's just badly written. From all I've read online, this is the way to go.

johan-bjareholt commented 3 years ago

@ErikBjare Yeah, I also found that weird. Found multiple reputable Qt projects who had taken in similar patches the past 1-2 years without any comments about it being deprecated, so seemed wired that it would be. Merging.