diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-11-18 14:46:42 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-11-20 13:44:15 +0000 |
commit | a6aaa2b7071b7666a807b450dc5738742f3cc9e0 (patch) | |
tree | 9f6f6a8648c8223efc23e88b5ea6d8536d3fab6a /tests/auto/network | |
parent | a07c9a1a70ce755140dd31f55c6acd72270f4ddd (diff) |
macOS: Propagate device-pixel-ratio of system tray icon
When preparing a system tray icon on a system with a retina screen,
we end up creating a full-height icon of height 44. If there's also
a 1x screen available, macOS will scale down this image for us when
presenting the icon on the 1 screen, but the downscale will fail to
preserve the aspect ratio of the original image on Big Sur.
Telling macOS which device-pixel-ratio the image has seems to fix
this, and is the right thing to do in any case.
Pick-to: 5.15
Pick-to: 5.12
Fixes: QTBUG-88600
Change-Id: Ic31def94d073da1b256bbfcaf5905f92c169f43d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/network')
0 files changed, 0 insertions, 0 deletions