1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:17: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

@ -26,7 +26,7 @@ class HexEditorWidget final : public GUI::Widget {
public:
virtual ~HexEditorWidget() override = default;
void open_file(String const& filename, NonnullOwnPtr<Core::File>);
void initialize_menubar(GUI::Window&);
ErrorOr<void> initialize_menubar(GUI::Window&);
bool request_close();
private: