1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 07:07:36 +00:00

PDFViewer: Add separator before quit menu action

This commit is contained in:
Linus Groh 2021-05-27 18:09:37 +01:00
parent 209bfbaaa4
commit cde5107f3d

View file

@ -39,6 +39,7 @@ void PDFViewerWidget::initialize_menubar(GUI::Menubar& menubar)
if (open_path.has_value())
open_file(open_path.value());
}));
file_menu.add_separator();
file_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
GUI::Application::the()->quit();
}));