We have a special case for sources starting with "file://" but a "/" also represents an absolute path and shouldn't conflict with icon theme names. Kicker sets a custom image as local path and then we would end up trying to load it as a QIcon::fromTheme eventually. This will cause the implicit size of the icon item to stay at its default as we only check a custom implicit size for a source QImage or an SVG. Moreover, this potentially introduces scaling artefacts. Differential Revision: https://phabricator.kde.org/D9812
2.8 KiB
150x50px
2.8 KiB
150x50px
![](/alecs/plasma-framework/raw/commit/0e14ab6eca263a195185e7e51cf530cca3005fb2/autotests/data/test_nonsquare.png)