Fix spread Mode not loading on svg parse
Removed private QGradient::Spread usage and instead use private QGradient member. This copies correctly on qMap assign during svg parsing
Test Plan
^--- import atacched file as layer, gradient should be in reflected mode. Save and reopen. Saved file should not show correct reflect state in non patched krita version
Formalities Checklist
-
I confirmed this builds. -
I confirmed Krita ran and the relevant functions work. -
I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!) -
I made sure my commits build individually and have good descriptions as per KDE guidelines. -
I made sure my code conforms to the standards set in the HACKING file. -
I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by Ivan Yossi