diff options
author | Karol Kosek <krkk@serenityos.org> | 2023-03-10 19:04:13 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-16 09:58:42 +0100 |
commit | 446c600d093059dd2af3b357ea1c0c698c66d27d (patch) | |
tree | 54e29f3921bda384934647cd6cc539ff71a74f6e /Userland/Applications/GamesSettings/main.cpp | |
parent | 797968c310d3b13f74968ba292e0b360d6d2d9c2 (diff) | |
download | serenity-446c600d093059dd2af3b357ea1c0c698c66d27d.zip |
LibGUI+Applications: Port SettingsWindow::add_tab() to the new string
Diffstat (limited to 'Userland/Applications/GamesSettings/main.cpp')
-rw-r--r-- | Userland/Applications/GamesSettings/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/GamesSettings/main.cpp b/Userland/Applications/GamesSettings/main.cpp index 3e887f9495..f15e3f50bf 100644 --- a/Userland/Applications/GamesSettings/main.cpp +++ b/Userland/Applications/GamesSettings/main.cpp @@ -35,8 +35,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto window = TRY(GUI::SettingsWindow::create("Games Settings", GUI::SettingsWindow::ShowDefaultsButton::Yes)); window->set_icon(app_icon.bitmap_for_size(16)); - (void)TRY(window->add_tab<GamesSettings::CardSettingsWidget>("Cards"sv, "cards"sv)); - (void)TRY(window->add_tab<GamesSettings::ChessSettingsWidget>("Chess"sv, "chess"sv)); + (void)TRY(window->add_tab<GamesSettings::CardSettingsWidget>("Cards"_short_string, "cards"sv)); + (void)TRY(window->add_tab<GamesSettings::ChessSettingsWidget>("Chess"_short_string, "chess"sv)); window->set_active_tab(selected_tab); window->show(); |