diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-10-01 15:04:50 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-10-10 18:03:07 +0200 |
| commit | 8a6a566489b55b185f998b72adafee1e3f204893 (patch) | |
| tree | e73b3c3b5bd8b9b021a2842ce8de94a0112a49a8 /src/gui/util/qundostack.cpp | |
| parent | 12885fd3bdc01bd57a1da2ae1d01ecffd6d493f3 (diff) | |
Don't override NSImage aspect ratio in [NSImage imageFromQIcon]
The size is input to the icon engine, but if the engine then produces
icons of a different size, and different aspect ratio in particular,
we can't naively apply the input size.
Doing so would manifest as skewed icons in menus and window title
bars.
Pick-to: 6.10 6.8 6.5
Change-Id: Ifd055e46cc268aec98f2157036d012b7d70d752a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/util/qundostack.cpp')
0 files changed, 0 insertions, 0 deletions
