Diffusion Krita 1f2031628b64

Added optional success state bool to KoColor::fromXML() to improve handling of…

Authored by victorw on Jul 19 2017, 2:19 PM.

Description

Added optional success state bool to KoColor::fromXML() to improve handling of bad XML.

PNG/JPEG config property "transparencyFillcolor" now stores KoColor instead of a comma separated string. This also fixes a potential crash due to bad data in config.

KisPropertiesConfiguration::getColor() will now return the provided default color if there are problems parsing the property XML.

Details

Committed
victorwJul 19 2017, 2:33 PM
Parents
R37:2bb8af168d03: Revert "Remove the triple-click event from KoToolBase"
Branches
Unknown
Tags
Unknown