Skip to content

Align handling of non-square icons with how Qt behaves

Volker Krause requested to merge work/preserve-icon-aspect-ratio into master

We now retain the original aspect ratio when loading, and communicate the actual size rather than clipping to the smaller side.

The KIconLoader side has been done by @cullmann, the KIconEngine side by me, both following what Qt does.

See also !21 (merged) for the discussion leading to this.

Merge request reports