1
Fork 0
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:
Karol Kosek 2023-04-16 14:50:45 +02:00 committed by Sam Atkins
parent 41cf3b741f
commit 0b110c88ae
3 changed files with 27 additions and 27 deletions

View file

@ -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: