mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 07:38:10 +00:00
PDFViewer: Propagate errors from PDFViewerWidget::initialize_menubar()
This commit is contained in:
parent
41cf3b741f
commit
0b110c88ae
3 changed files with 27 additions and 27 deletions
|
@ -25,7 +25,7 @@ class PDFViewerWidget final : public GUI::Widget {
|
|||
public:
|
||||
~PDFViewerWidget() override = default;
|
||||
|
||||
void initialize_menubar(GUI::Window&);
|
||||
ErrorOr<void> initialize_menubar(GUI::Window&);
|
||||
void open_file(StringView path, NonnullOwnPtr<Core::File> file);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue