Diffusion Krita 7177d022221a

Fix xcf closing Krita in case of parsing errors

Authored by tymond on May 21 2019, 9:48 AM.

Description

Fix xcf closing Krita in case of parsing errors

Before if xcf import plugin encountered any problems
it closed Krita (using exit() function call) without
any consideration what's going on outside of xcf.
This commit disables closing/crashing Krita by xcf
and provides basic error handling.

After this commit, xcf tests should pass and xcf files
should be opened correctly, as before.

Details