1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:57:34 +00:00

PixelPaint: Remove try_ prefix from fallible ProjectLoader methods

This commit is contained in:
Linus Groh 2023-01-28 20:12:17 +00:00 committed by Jelle Raaijmakers
parent 86f28ceace
commit 65fa7db2b5
3 changed files with 3 additions and 3 deletions

View file

@ -1097,7 +1097,7 @@ void MainWidget::set_actions_enabled(bool enabled)
void MainWidget::open_image(FileSystemAccessClient::File file)
{
auto try_load = m_loader.try_load_from_file(file.release_stream());
auto try_load = m_loader.load_from_file(file.release_stream());
if (try_load.is_error()) {
GUI::MessageBox::show_error(window(), DeprecatedString::formatted("Unable to open file: {}, {}", file.filename(), try_load.error()));
return;