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

HexEditor: Propagate errors from HexEditorWidget::initialize_menubar()

This commit is contained in:
Karol Kosek 2023-04-16 14:56:27 +02:00 committed by Sam Atkins
parent abe5787126
commit 41cf3b741f
3 changed files with 47 additions and 45 deletions

View file

@ -47,7 +47,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
hex_editor_widget->initialize_menubar(*window);
TRY(hex_editor_widget->initialize_menubar(*window));
window->show();
window->set_icon(app_icon.bitmap_for_size(16));