https://bugs.kde.org/show_bug.cgi?id=498288

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kirigami/-/commit/b4
                   |                            |e730c8fd7aaf514ee96b0b19217
                   |                            |c88ee2188b5

--- Comment #9 from Marco Martin <notm...@gmail.com> ---
Git commit b4e730c8fd7aaf514ee96b0b19217c88ee2188b5 by Marco Martin.
Committed on 09/01/2025 at 15:01.
Pushed by mart into branch 'master'.

Icon: fix absolute icon paths

QIcon::fromTheme() tries very hard to find an icon in the theme,
even if is an absolute path, like
/usr/share/myapp/foo.svgz, it will search in the current theme an icon
called "foo" which is now what's expected when an abcolute path is
passed.
now when a file:// source or a qrc:// source are passed, build the
QIcon with QIcon(path) instead of QICon::fromTheme(path) so
the actual file is loaded

M  +5    -2    src/primitives/icon.cpp

https://invent.kde.org/frameworks/kirigami/-/commit/b4e730c8fd7aaf514ee96b0b19217c88ee2188b5

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to