mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:28:11 +00:00
LibGUI+Applications: Use String in make_about_action()
This commit is contained in:
parent
e7a5a2e146
commit
ccab5ddf9b
53 changed files with 60 additions and 60 deletions
|
@ -277,7 +277,7 @@ ErrorOr<void> MainWidget::initialize_menubar(GUI::Window& window)
|
|||
help_menu->add_action(GUI::CommonActions::make_help_action([](auto&) {
|
||||
Desktop::Launcher::open(URL::create_with_file_scheme("/usr/share/man/man1/Applications/GMLPlayground.md"), "/bin/Help");
|
||||
}));
|
||||
help_menu->add_action(GUI::CommonActions::make_about_action("GML Playground", m_icon, &window));
|
||||
help_menu->add_action(GUI::CommonActions::make_about_action("GML Playground"_string, m_icon, &window));
|
||||
|
||||
m_toolbar->add_action(open_action);
|
||||
m_toolbar->add_action(*m_save_action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue