Mandelbrot: Remove image export confirmation dialog

Andreas mentioned this dialog is not needed in the monthly update
video[^1].

[^1]: https://youtu.be/yUmHEYs5n34?t=364
This commit is contained in:
EWouters 2022-05-06 15:06:17 +02:00 committed by Linus Groh
parent 86d5e5a90c
commit 053fc51b7d
Notes: sideshowbarker 2024-07-18 05:37:06 +09:00

View File

@ -393,7 +393,6 @@ void Mandelbrot::export_image(String const& export_path, ImageType image_type)
}
fwrite(encoded_data.data(), 1, encoded_data.size(), file);
fclose(file);
GUI::MessageBox::show(window(), "Image was successfully exported.", "Mandelbrot", GUI::MessageBox::Type::Information);
}
ErrorOr<int> serenity_main(Main::Arguments arguments)