1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

PixelPaint: Propagate more errors when saving a project file

This commit is contained in:
Karol Kosek 2022-12-17 15:38:01 +01:00 committed by Andreas Kling
parent 588994bb00
commit 11377bf0f8
4 changed files with 32 additions and 31 deletions

View file

@ -72,7 +72,7 @@ public:
void paint_into(GUI::Painter&, Gfx::IntRect const& dest_rect) const;
void serialize_as_json(JsonObjectSerializer<StringBuilder>& json) const;
ErrorOr<void> serialize_as_json(JsonObjectSerializer<StringBuilder>& json) const;
ErrorOr<void> export_bmp_to_file(Core::File&, bool preserve_alpha_channel);
ErrorOr<void> export_png_to_file(Core::File&, bool preserve_alpha_channel);
ErrorOr<void> export_qoi_to_file(Core::File&) const;