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:
parent
abe5787126
commit
41cf3b741f
3 changed files with 47 additions and 45 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue