mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20: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
|
@ -26,7 +26,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto app = TRY(GUI::Application::create(arguments));
|
||||
|
||||
auto const app_name = "BrickGame"sv;
|
||||
auto const title = "Brick Game"sv;
|
||||
auto const title = "Brick Game"_string;
|
||||
auto const man_file = "/usr/share/man/man6/BrickGame.md"sv;
|
||||
|
||||
Config::pledge_domain(app_name);
|
||||
|
@ -45,7 +45,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto window = TRY(GUI::Window::try_create());
|
||||
|
||||
window->set_double_buffering_enabled(false);
|
||||
window->set_title(title);
|
||||
window->set_title(title.bytes_as_string_view());
|
||||
window->resize(360, 462);
|
||||
window->set_resizable(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue