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/77be3197e22fbd5ae746a6bdf31976b2187c3157/autotests/data/test_nonsquare.png)