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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/-/commit/62f0e49
                   |                            |a770557c8ccf52027605eb617dc
                   |                            |d7758d

--- Comment #3 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 62f0e49a770557c8ccf52027605eb617dcd7758d by Dmitry Kazakov.
Committed on 19/06/2023 at 10:52.
Pushed by dkazakov into branch 'master'.

Fix crash in Palettize filter

The patch just wraps the d-poitner structure into
std::experimental::propagate_const, which disables detaching
of the QMap on every color-swatch access.

This propagate_const is still in 'experimental' land, the patch
also includes a fallback inmplementation from Jonathan B. Coe,
from GitHub: https://github.com/jbcoe/propagate_const

A  +427  -0    libs/global/3rdparty/propagate_const.h  *
A  +15   -0    libs/global/KisPropagateConstWrapper.h     [License: GPL(v2.0+)]
M  +1    -1    libs/pigment/resources/KisSwatchGroup.cpp
M  +7    -2    libs/pigment/resources/KisSwatchGroup.h

The files marked with a * at the end have a non valid license. Please read:
https://community.kde.org/Policies/Licensing_Policy and use the headers which
are listed at that page.


https://invent.kde.org/graphics/krita/-/commit/62f0e49a770557c8ccf52027605eb617dcd7758d

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

Reply via email to