1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:07:34 +00:00

HackStudio: Fix cpp-gui template

This commit is contained in:
NoahR02 2022-08-31 00:02:23 -04:00 committed by Linus Groh
parent f2da577e77
commit 406dff16d1
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto button = TRY(main_widget->try_add<GUI::Button>("Click me!"));
button->on_click = [&](auto) {
GUI::MessageBox::show(window, "Hello friends!", ":^)");
GUI::MessageBox::show(window, "Hello friends!"sv, ":^)"sv);
};
window->show();