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

Nicolas Fella <nicolas.fe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kirigami/-/commit/f6
                   |                            |73694e6f90efa0179a6f8322d4c
                   |                            |44d544ff591
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Git commit f673694e6f90efa0179a6f8322d4c44d544ff591 by Nicolas Fella.
Committed on 14/08/2024 at 12:43.
Pushed by nicolasfella into branch 'master'.

[icon] Fix icon colors when using Plasma platformtheme and QIcon source

When using a name as source we load the icon from the platform theme and
therefore apply the right theme colors.

However when we receive a QIcon as source it might not have been loaded
with the right theme colors.

To fix this check if the icon was obtained by name and reload it from the
platformtheme then. The late PlasmaCore.IconItem did something similar.

M  +20   -6    src/primitives/icon.cpp
M  +1    -0    src/primitives/icon.h

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

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

Reply via email to